diff --git a/go.mod b/go.mod index bbb0f9f15b2b..79d0f3c8ee3d 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( github.com/satori/uuid v0.0.0-20160927100844-b061729afc07 github.com/sergi/go-diff v1.1.0 github.com/terraform-providers/terraform-provider-azuread v0.9.0 - github.com/tombuildsstuff/giovanni v0.15.0 + github.com/tombuildsstuff/giovanni v0.15.1 golang.org/x/crypto v0.0.0-20201016220609-9e8e0b390897 golang.org/x/net v0.0.0-20200301022130-244492dfa37a gopkg.in/yaml.v2 v2.2.4 diff --git a/go.sum b/go.sum index 066f48e3ce3e..f17c08404a72 100644 --- a/go.sum +++ b/go.sum @@ -264,8 +264,8 @@ github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJy github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/terraform-providers/terraform-provider-azuread v0.9.0 h1:XLzFgVHakq6qjJ2L0o/tN2yHu/hT4vIW9sKtejr7gPs= github.com/terraform-providers/terraform-provider-azuread v0.9.0/go.mod h1:sSDzB/8CD639+yWo5lZf+NJvGSYQBSS6z+GoET9IrzE= -github.com/tombuildsstuff/giovanni v0.15.0 h1:DMVKSdnKhYRDqeQUg6JhUxOoeCnO2BUNZJM9z/lSigA= -github.com/tombuildsstuff/giovanni v0.15.0/go.mod h1:0TZugJPEtqzPlMpuJHYfXY6Dq2uLPrXf98D2XQSxNbA= +github.com/tombuildsstuff/giovanni v0.15.1 h1:CVRaLOJ7C/eercCrKIsarfJ4SZoGMdBL9Q2deFDUXco= +github.com/tombuildsstuff/giovanni v0.15.1/go.mod h1:0TZugJPEtqzPlMpuJHYfXY6Dq2uLPrXf98D2XQSxNbA= github.com/ulikunitz/xz v0.5.5 h1:pFrO0lVpTBXLpYw+pnLj6TbvHuyjXMfjGeCwSqCVwok= github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4ABRW8= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= diff --git a/vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/files/range_put.go b/vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/files/range_put.go index 208becc34bd1..20e4d398d590 100644 --- a/vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/files/range_put.go +++ b/vendor/github.com/tombuildsstuff/giovanni/storage/2019-12-12/file/files/range_put.go @@ -47,9 +47,6 @@ func (client Client) PutByteRange(ctx context.Context, accountName, shareName, p if expectedBytes != int64(actualBytes) { return result, validation.NewError("files.Client", "PutByteRange", fmt.Sprintf("The specified byte-range (%d) didn't match the content size (%d).", expectedBytes, actualBytes)) } - if expectedBytes < (4 * 1024) { - return result, validation.NewError("files.Client", "PutByteRange", "Specified Byte Range must be at least 4KB.") - } if expectedBytes > (4 * 1024 * 1024) { return result, validation.NewError("files.Client", "PutByteRange", "Specified Byte Range must be at most 4MB.") diff --git a/vendor/github.com/tombuildsstuff/giovanni/version/version.go b/vendor/github.com/tombuildsstuff/giovanni/version/version.go index 0bec9691d477..7ccb6d85cf7a 100644 --- a/vendor/github.com/tombuildsstuff/giovanni/version/version.go +++ b/vendor/github.com/tombuildsstuff/giovanni/version/version.go @@ -1,3 +1,3 @@ package version -const Number = "v0.15.0" +const Number = "v0.15.1" diff --git a/vendor/modules.txt b/vendor/modules.txt index 719f8b79f197..6911abd135a4 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -371,7 +371,7 @@ github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/slices github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/tf github.com/terraform-providers/terraform-provider-azuread/azuread/helpers/validate github.com/terraform-providers/terraform-provider-azuread/version -# github.com/tombuildsstuff/giovanni v0.15.0 +# github.com/tombuildsstuff/giovanni v0.15.1 github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/accounts github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/blobs github.com/tombuildsstuff/giovanni/storage/2019-12-12/blob/containers