Skip to content

Commit d6c8f19

Browse files
committed
✨ feat: set ClientToken if not already set by client
1 parent dc0efc8 commit d6c8f19

9 files changed

Lines changed: 499 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ endif
3131

3232
.PHONY: test
3333
test: gen
34-
go test -v ./examples
34+
go test -v ./...

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ require (
99
github.com/aws/aws-sdk-go-v2/service/s3 v1.72.3
1010
github.com/aws/smithy-go v1.24.2
1111
github.com/aws/smithy-go/aws-http-auth v1.1.2
12+
github.com/google/uuid v1.6.0
1213
github.com/hashicorp/go-retryablehttp v0.7.8
1314
github.com/oapi-codegen/runtime v1.2.0
1415
github.com/stretchr/testify v1.11.1
@@ -37,7 +38,6 @@ require (
3738
github.com/getkin/kin-openapi v0.133.0 // indirect
3839
github.com/go-openapi/jsonpointer v0.21.0 // indirect
3940
github.com/go-openapi/swag v0.23.0 // indirect
40-
github.com/google/uuid v1.6.0 // indirect
4141
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
4242
github.com/josharian/intern v1.0.0 // indirect
4343
github.com/mailru/easyjson v0.7.7 // indirect

pkg/oks/client.gen.go

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/oks/client.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package oks
22

33
import (
44
"fmt"
5+
"reflect"
56

67
"github.com/outscale/osc-sdk-go/v3/pkg/logger"
78
"github.com/outscale/osc-sdk-go/v3/pkg/middleware"
@@ -41,3 +42,5 @@ func newClientRaw(
4142
Client: m,
4243
}, nil
4344
}
45+
46+
func mutateBody(_ reflect.Value) error { return nil }

0 commit comments

Comments
 (0)