File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 55 "fmt"
66 "os"
77
8- "github.com/stackitcloud/stackit-sdk-go/core/config"
98 "github.com/stackitcloud/stackit-sdk-go/core/utils"
109 "github.com/stackitcloud/stackit-sdk-go/services/sfs"
1110 "github.com/stackitcloud/stackit-sdk-go/services/sfs/wait"
@@ -17,7 +16,7 @@ func main() {
1716 region := "eu01"
1817
1918 // Create a new API client, that uses default authentication and configuration
20- sfsClient , err := sfs .NewAPIClient (config . WithRegion ( region ) )
19+ sfsClient , err := sfs .NewAPIClient ()
2120 if err != nil {
2221 fmt .Fprintf (os .Stderr , "[sfs API] Creating API client: %v\n " , err )
2322 os .Exit (1 )
Original file line number Diff line number Diff line change 55 "fmt"
66 "os"
77
8- "github.com/stackitcloud/stackit-sdk-go/core/config"
98 "github.com/stackitcloud/stackit-sdk-go/core/utils"
109 "github.com/stackitcloud/stackit-sdk-go/services/sfs"
1110 "github.com/stackitcloud/stackit-sdk-go/services/sfs/wait"
@@ -17,7 +16,7 @@ func main() {
1716 region := "eu01"
1817
1918 // Create a new API client, that uses default authentication and configuration
20- sfsClient , err := sfs .NewAPIClient (config . WithRegion ( region ) )
19+ sfsClient , err := sfs .NewAPIClient ()
2120 if err != nil {
2221 fmt .Fprintf (os .Stderr , "[sfs API] Creating API client: %v\n " , err )
2322 os .Exit (1 )
You can’t perform that action at this time.
0 commit comments