From c07f53d7d1d9cba47010aa97a8977f6104208957 Mon Sep 17 00:00:00 2001 From: Ruben Hoenle Date: Tue, 18 Mar 2025 17:36:34 +0100 Subject: [PATCH] fix(sqlserver): remove region configuration from client --- internal/pkg/services/sqlserverflex/client/client.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/pkg/services/sqlserverflex/client/client.go b/internal/pkg/services/sqlserverflex/client/client.go index d3789ed5c..2767ae937 100644 --- a/internal/pkg/services/sqlserverflex/client/client.go +++ b/internal/pkg/services/sqlserverflex/client/client.go @@ -21,8 +21,7 @@ func ConfigureClient(p *print.Printer) (*sqlserverflex.APIClient, error) { p.Debug(print.ErrorLevel, "configure authentication: %v", err) return nil, &errors.AuthError{} } - region := viper.GetString(config.RegionKey) - cfgOptions = append(cfgOptions, authCfgOption, sdkConfig.WithRegion(region)) + cfgOptions = append(cfgOptions, authCfgOption) customEndpoint := viper.GetString(config.SQLServerFlexCustomEndpointKey)