Skip to content

Commit 0ecf9e8

Browse files
authored
fix(sqlserver): remove region configuration from client (#656)
1 parent e2a6274 commit 0ecf9e8

File tree

1 file changed

+1
-2
lines changed
  • internal/pkg/services/sqlserverflex/client

1 file changed

+1
-2
lines changed

internal/pkg/services/sqlserverflex/client/client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ func ConfigureClient(p *print.Printer) (*sqlserverflex.APIClient, error) {
2121
p.Debug(print.ErrorLevel, "configure authentication: %v", err)
2222
return nil, &errors.AuthError{}
2323
}
24-
region := viper.GetString(config.RegionKey)
25-
cfgOptions = append(cfgOptions, authCfgOption, sdkConfig.WithRegion(region))
24+
cfgOptions = append(cfgOptions, authCfgOption)
2625

2726
customEndpoint := viper.GetString(config.SQLServerFlexCustomEndpointKey)
2827

0 commit comments

Comments
 (0)