Skip to content

Commit

Permalink
Vendor: Update egoscale v3 (#2)
Browse files Browse the repository at this point in the history
# Description
Vendoring update on Egoscale

## Checklist
(For exoscale contributors)

* [x] Changelog updated (under *Unreleased* block)
* [x] Integration tests OK

Signed-off-by: Pierre-Emmanuel Jacquier <[email protected]>
  • Loading branch information
pierre-emmanuelJ authored Jan 24, 2024
1 parent fd62922 commit e46c999
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 7 deletions.
2 changes: 1 addition & 1 deletion driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ func (d *controllerService) CreateVolume(ctx context.Context, req *csi.CreateVol
BlockStorageSnapshot: snapshotTarget,
}

if err := v3.Validate(request); err != nil {
if err := d.client.Validate(request); err != nil {
klog.Errorf("create block storage volume validation: %v", err)
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/container-storage-interface/spec v1.8.0
github.com/exoscale/egoscale v0.102.4-0.20240117105256-1ace995a320f
github.com/exoscale/egoscale v0.102.4-0.20240124100014-b414c838f92a
github.com/golang/protobuf v1.5.3
golang.org/x/sys v0.15.0
google.golang.org/grpc v1.58.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/emicklei/go-restful/v3 v3.9.0 h1:XwGDlfxEnQZzuopoqxwSEllNcCOM9DhhFyhFIIGKwxE=
github.com/emicklei/go-restful/v3 v3.9.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/exoscale/egoscale v0.102.4-0.20240117105256-1ace995a320f h1:3Gid+5UXIV7j3hjOnkLbcOgEmlx/GSmdlMEgCvZiWLM=
github.com/exoscale/egoscale v0.102.4-0.20240117105256-1ace995a320f/go.mod h1:RPf2Gah6up+6kAEayHTQwqapzXlm93f0VQas/UEGU5c=
github.com/exoscale/egoscale v0.102.4-0.20240124100014-b414c838f92a h1:6QyDUx529CBX1yFQEUilvMK/ok5j44nJjc/0URKGufU=
github.com/exoscale/egoscale v0.102.4-0.20240124100014-b414c838f92a/go.mod h1:RPf2Gah6up+6kAEayHTQwqapzXlm93f0VQas/UEGU5c=
github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ=
github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
Expand Down
27 changes: 25 additions & 2 deletions vendor/github.com/exoscale/egoscale/v3/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions vendor/github.com/exoscale/egoscale/v3/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ github.com/davecgh/go-spew/spew
## explicit; go 1.13
github.com/emicklei/go-restful/v3
github.com/emicklei/go-restful/v3/log
# github.com/exoscale/egoscale v0.102.4-0.20240117105256-1ace995a320f
# github.com/exoscale/egoscale v0.102.4-0.20240124100014-b414c838f92a
## explicit; go 1.20
github.com/exoscale/egoscale/v3
github.com/exoscale/egoscale/version
Expand Down

0 comments on commit e46c999

Please sign in to comment.