We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a352853 commit 013abf9Copy full SHA for 013abf9
acceptance/testenv/loaded.go
@@ -29,10 +29,6 @@ func (l *loadedEnv) Name() string {
29
// Configure implemets config.Loader interface
30
func (l *loadedEnv) Configure(cfg *config.Config) error {
31
ctx := context.Background()
32
- if cfg.IsAzure() {
33
- logger.Debugf(ctx, "Setting credentials for Azure Databricks")
34
- cfg.Credentials = l.v.creds
35
- }
36
for _, a := range config.ConfigAttributes {
37
for _, ev := range a.EnvVars {
38
v, ok := l.vars[ev]
@@ -47,6 +43,10 @@ func (l *loadedEnv) Configure(cfg *config.Config) error {
47
43
}
48
44
49
45
46
+ if cfg.IsAzure() {
+ logger.Debugf(ctx, "Setting GitHub OIDC credentials for Azure Databricks")
+ cfg.Credentials = l.v.creds
+ }
50
return nil
51
52
0 commit comments