Skip to content

Commit 22c2ac9

Browse files
authored
Remove the verbose warning of the region change (#1264)
Signed-off-by: Alexander Dahmen <[email protected]>
1 parent 760ae83 commit 22c2ac9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

core/config/config.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ package config
55
import (
66
"context"
77
"fmt"
8-
"log"
98
"net/http"
109
"os"
1110
"strings"
@@ -481,8 +480,6 @@ func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint strin
481480
// Throws an error if no region is given or if the region is not valid
482481
// Throws an error if a region is given for a global url.
483482
func ConfigureRegion(cfg *Configuration) error {
484-
log.Println("WARNING: STACKIT will move to a new way of specifying regions, where the region is provided as a function argument instead of being set in the client configuration." +
485-
" Once all services have migrated, the methods to specify the region in the client configuration will be removed.")
486483
if cfg.setCustomEndpoint {
487484
return nil
488485
}

0 commit comments

Comments
 (0)