Skip to content

Commit

Permalink
Merge pull request #16460 from hashicorp/deps/giovanni
Browse files Browse the repository at this point in the history
dependencies: updating to v0.19.0 of github.com/tombuildsstuff/giovanni
  • Loading branch information
tombuildsstuff authored Apr 20, 2022
2 parents 1567522 + 0b589b8 commit 6a0ba83
Show file tree
Hide file tree
Showing 9 changed files with 74 additions and 35 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ require (
github.com/rickb777/date v1.12.5-0.20200422084442-6300e543c4d9
github.com/sergi/go-diff v1.2.0
github.com/shopspring/decimal v1.2.0
github.com/tombuildsstuff/giovanni v0.18.0
github.com/tombuildsstuff/giovanni v0.19.0
golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2
gopkg.in/yaml.v2 v2.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/tombuildsstuff/giovanni v0.18.0 h1:AiSnRtD+yUBS9STKjOsi1pmkBHnNRsLCsp9fnDBFH14=
github.com/tombuildsstuff/giovanni v0.18.0/go.mod h1:66KVLYma2whJhEdxPSPL3GQHkulhK+C5CluKfHGfPF4=
github.com/tombuildsstuff/giovanni v0.19.0 h1:iUn8m5ee4nKQ0t0kr/opgtXGMAtYAUgV+7bHVbHC8/I=
github.com/tombuildsstuff/giovanni v0.19.0/go.mod h1:66KVLYma2whJhEdxPSPL3GQHkulhK+C5CluKfHGfPF4=
github.com/ulikunitz/xz v0.5.8/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
Expand Down
6 changes: 4 additions & 2 deletions internal/services/storage/shim/shares_data_plane.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (w DataPlaneStorageShareWrapper) Get(ctx context.Context, _, accountName, s

return &StorageShareProperties{
MetaData: props.MetaData,
QuotaGB: props.ShareQuota,
QuotaGB: props.QuotaInGB,
ACLs: acls.SignedIdentifiers,
EnabledProtocol: props.EnabledProtocol,
}, nil
Expand All @@ -104,7 +104,9 @@ func (w DataPlaneStorageShareWrapper) UpdateMetaData(ctx context.Context, _, acc
}

func (w DataPlaneStorageShareWrapper) UpdateQuota(ctx context.Context, _, accountName, shareName string, quotaGB int) error {
_, err := w.client.SetProperties(ctx, accountName, shareName, quotaGB)
_, err := w.client.SetProperties(ctx, accountName, shareName, shares.ShareProperties{
QuotaInGb: &quotaGB,
})
return err
}

Expand Down

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

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

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

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

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 @@ -389,7 +389,7 @@ github.com/sergi/go-diff/diffmatchpatch
# github.com/shopspring/decimal v1.2.0
## explicit; go 1.13
github.com/shopspring/decimal
# github.com/tombuildsstuff/giovanni v0.18.0
# github.com/tombuildsstuff/giovanni v0.19.0
## explicit; go 1.13
github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts
github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs
Expand Down

0 comments on commit 6a0ba83

Please sign in to comment.