Skip to content

Commit a18c6bd

Browse files
committed
chore(loadbalancer): remove region adjustment from client
1 parent 526183a commit a18c6bd

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

internal/pkg/services/load-balancer/client/client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ func ConfigureClient(p *print.Printer) (*loadbalancer.APIClient, error) {
2727
if customEndpoint != "" {
2828
cfgOptions = append(cfgOptions, sdkConfig.WithEndpoint(customEndpoint))
2929
} else {
30-
region := viper.GetString(config.RegionKey)
31-
cfgOptions = append(cfgOptions, authCfgOption, sdkConfig.WithRegion(region))
30+
cfgOptions = append(cfgOptions, authCfgOption)
3231
}
3332

3433
if p.IsVerbosityDebug() {

0 commit comments

Comments
 (0)