Skip to content

Commit f91efff

Browse files
committed
fix
1 parent 63bb1c0 commit f91efff

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

config/auth_azure_msi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ func (c AzureMsiCredentials) Name() string {
3232
}
3333

3434
func (c AzureMsiCredentials) Configure(ctx context.Context, cfg *Config) (credentials.CredentialsProvider, error) {
35-
if !cfg.IsAzure() || !cfg.AzureUseMSI || (cfg.AzureResourceID == "" && cfg.GetClientType() == WorkspaceClient) {
35+
if !cfg.IsAzure() || !cfg.AzureUseMSI {
3636
return nil, nil
3737
}
3838
env := cfg.Environment()

config/config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,6 @@ type Config struct {
193193
// Keep track of the source of each attribute
194194
attrSource map[string]Source
195195

196-
// Keep track of what client type was constructed
197-
clientType ClientTypeEnum
198-
199196
// Marker for unified hosts. Will be unnecessary once we've settled on a way to determine if a host is unified.
200197
isUnifiedHost bool `name:"is_unified_host" env:"DATABRICKS_IS_UNIFIED_HOST" auth:"-"`
201198
}

0 commit comments

Comments
 (0)