fix(agent): for iamra and ecr login, detect errors and retry [be-12284] (#1309)
This commit is contained in:
@@ -75,6 +75,11 @@ func withCli(
|
||||
cli.ConfigFile().AuthConfigs[r.ServerAddress] = r
|
||||
}
|
||||
|
||||
if cli.ConfigFile().CredentialsStore == "portainer" {
|
||||
log.Debug().Msg("completely disabling portainer credential store helper")
|
||||
cli.ConfigFile().CredentialsStore = ""
|
||||
}
|
||||
|
||||
return cliFn(ctx, cli)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user