Skip to content

Commit 3ad038f

Browse files
committed
remove region configuration from serverupdate client
1 parent b848b5d commit 3ad038f

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

internal/pkg/services/serverosupdate/client/client.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
)
1313

1414
func ConfigureClient(p *print.Printer) (*serverupdate.APIClient, error) {
15-
var err error
1615
var apiClient *serverupdate.APIClient
1716
var cfgOptions []sdkConfig.ConfigurationOption
1817

@@ -27,7 +26,7 @@ func ConfigureClient(p *print.Printer) (*serverupdate.APIClient, error) {
2726
if customEndpoint != "" {
2827
cfgOptions = append(cfgOptions, sdkConfig.WithEndpoint(customEndpoint))
2928
} else {
30-
cfgOptions = append(cfgOptions, authCfgOption, sdkConfig.WithRegion("eu01"))
29+
cfgOptions = append(cfgOptions, authCfgOption)
3130
}
3231

3332
if p.IsVerbosityDebug() {

0 commit comments

Comments
 (0)