We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c45bd79 commit fbdc6a8Copy full SHA for fbdc6a8
1 file changed
examples/logs/logs.go
@@ -4,7 +4,6 @@ import (
4
"context"
5
"log"
6
7
- "github.com/stackitcloud/stackit-sdk-go/core/config"
8
"github.com/stackitcloud/stackit-sdk-go/core/utils"
9
"github.com/stackitcloud/stackit-sdk-go/services/logs"
10
)
@@ -15,9 +14,7 @@ func main() {
15
14
projectId := "PROJECT_ID" // the uuid of your STACKIT project
16
regionId := "eu01"
17
18
- client, err := logs.NewAPIClient(
19
- config.WithRegion(regionId),
20
- )
+ client, err := logs.NewAPIClient()
21
if err != nil {
22
log.Fatalf("[Logs API] Creating API client: %v\n", err)
23
}
0 commit comments