Skip to content

Commit 013abf9

Browse files
committed
..
1 parent a352853 commit 013abf9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

acceptance/testenv/loaded.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ func (l *loadedEnv) Name() string {
2929
// Configure implemets config.Loader interface
3030
func (l *loadedEnv) Configure(cfg *config.Config) error {
3131
ctx := context.Background()
32-
if cfg.IsAzure() {
33-
logger.Debugf(ctx, "Setting credentials for Azure Databricks")
34-
cfg.Credentials = l.v.creds
35-
}
3632
for _, a := range config.ConfigAttributes {
3733
for _, ev := range a.EnvVars {
3834
v, ok := l.vars[ev]
@@ -47,6 +43,10 @@ func (l *loadedEnv) Configure(cfg *config.Config) error {
4743
}
4844
}
4945
}
46+
if cfg.IsAzure() {
47+
logger.Debugf(ctx, "Setting GitHub OIDC credentials for Azure Databricks")
48+
cfg.Credentials = l.v.creds
49+
}
5050
return nil
5151
}
5252

0 commit comments

Comments
 (0)