Skip to content

Commit 7b726d2

Browse files
andyzhangxtheobarberbany
authored andcommitted
UPSTREAM: 8504: Fix GovCloud Config
This change uses the parsed `config` currently being reconciled to initialise the controller.
1 parent 2e732f8 commit 7b726d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/provider/azure.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ func (az *Cloud) InitializeCloudFromConfig(ctx context.Context, config *config.C
324324
config.ClusterServiceSharedLoadBalancerHealthProbePath = consts.ClusterServiceLoadBalancerHealthProbeDefaultPath
325325
}
326326

327-
clientOps, env, err := azclient.GetAzCoreClientOption(&az.ARMClientConfig)
327+
clientOps, env, err := azclient.GetAzCoreClientOption(&config.ARMClientConfig)
328328
if err != nil {
329329
return err
330330
}

0 commit comments

Comments
 (0)