Skip to content

Commit

Permalink
upgrade sdk go
Browse files Browse the repository at this point in the history
Signed-off-by: hanenMizouni <[email protected]>
  • Loading branch information
outscale-hmi committed Nov 19, 2024
1 parent 42e485e commit 113dc84
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion controllers/osccluster_loadbalancer_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ func reconcileDeleteLoadBalancer(ctx context.Context, clusterScope *scope.Cluste
}

loadBalancerTagKey := osc.ResourceLoadBalancerTag{
Key: &nameTag.Key,
Key: nameTag.Key,
}
err = loadBalancerSvc.DeleteLoadBalancerTag(loadBalancerSpec, loadBalancerTagKey)
if err != nil {
Expand Down
6 changes: 3 additions & 3 deletions controllers/osccluster_loadbalancer_controller_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ func TestReconcileDeleteLoadBalancerDelete(t *testing.T) {
}
if lbtc.expDeleteLoadBalancerTagFound {
loadBalancerTagKey := osc.ResourceLoadBalancerTag{
Key: tag.Key,
Key: *tag.Key,
}
mockOscLoadBalancerInterface.
EXPECT().
Expand Down Expand Up @@ -1338,7 +1338,7 @@ func TestReconcileDeleteLoadBalancerDeleteTag(t *testing.T) {
}
if lbtc.expDeleteLoadBalancerTagFound {
loadBalancerTagKey := osc.ResourceLoadBalancerTag{
Key: tag.Key,
Key: *tag.Key,
}
mockOscLoadBalancerInterface.
EXPECT().
Expand Down Expand Up @@ -1450,7 +1450,7 @@ func TestReconcileDeleteLoadBalancerDeleteWithoutSpec(t *testing.T) {
}
if lbtc.expDeleteLoadBalancerTagFound {
loadBalancerTagKey := osc.ResourceLoadBalancerTag{
Key: tag.Key,
Key: *tag.Key,
}
mockOscLoadBalancerInterface.
EXPECT().
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/golang/mock v1.6.0
github.com/onsi/ginkgo/v2 v2.19.1
github.com/onsi/gomega v1.34.0
github.com/outscale/osc-sdk-go/v2 v2.21.0
github.com/outscale/osc-sdk-go/v2 v2.24.0
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20231006140011-7918f672742d
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
github.com/opencontainers/image-spec v1.0.2/go.mod h1:BtxoFyWECRxE4U/7sNtV5W15zMzWCbyJoFRP3s7yZA0=
github.com/outscale/osc-sdk-go/v2 v2.21.0 h1:8MqhexV+ALG76CvY8EpuQlr0+hC5VFrWQY4fHqdT358=
github.com/outscale/osc-sdk-go/v2 v2.21.0/go.mod h1:kzhtUErCzKYl87bZ+kDMphDafmnwbsyFJY9iHF7NgNE=
github.com/outscale/osc-sdk-go/v2 v2.24.0 h1:4M0gJgYRKJQhIo5oZbiEbfuBv/Ls6iHaUyrEiBAbjYM=
github.com/outscale/osc-sdk-go/v2 v2.24.0/go.mod h1:kzhtUErCzKYl87bZ+kDMphDafmnwbsyFJY9iHF7NgNE=
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
github.com/pelletier/go-toml/v2 v2.2.2 h1:aYUidT7k73Pcl9nb2gScu7NSrKCSHIDE89b3+6Wq+LM=
Expand Down

0 comments on commit 113dc84

Please sign in to comment.