Skip to content

Commit

Permalink
Fix cloud config for azcontainerregistry tests (Azure#22936)
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell authored May 22, 2024
1 parent e94a144 commit 22e4240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdk/containers/azcontainerregistry/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ func run(m *testing.M) int {
switch {
case strings.EqualFold(env, "AzureUSGovernment"):
testConfig.cloud = azcloud.AzureGovernment
case strings.EqualFold(env, "AzureCloud"):
testConfig.cloud = azcloud.AzurePublic
case strings.EqualFold(env, "AzureChinaCloud"):
testConfig.cloud = azcloud.AzureChina
case len(env) > 0:
Expand Down

0 comments on commit 22e4240

Please sign in to comment.