diff options
author | 2024-12-02 10:44:43 +0100 | |
---|---|---|
committer | 2024-12-02 10:44:43 +0100 | |
commit | 936b269b056a3b65556f6de655a8610328a76e61 (patch) | |
tree | 2cf27a79c0172f6089ccd3ae6c5998dcb7b93a5c /vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go | |
parent | [performance] use new instance of bun.DB *after* migrations to reduce number ... (diff) | |
download | gotosocial-936b269b056a3b65556f6de655a8610328a76e61.tar.xz |
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.80 to 7.0.81 (#3590)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.80 to 7.0.81.
- [Release notes](https://github.com/minio/minio-go/releases)
- [Commits](https://github.com/minio/minio-go/compare/v7.0.80...v7.0.81)
---
updated-dependencies:
- dependency-name: github.com/minio/minio-go/v7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go')
-rw-r--r-- | vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go b/vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go index 0ae9142e1..3023b949c 100644 --- a/vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go +++ b/vendor/github.com/minio/minio-go/v7/api-put-object-fan-out.go @@ -85,7 +85,10 @@ func (c *Client) PutObjectFanOut(ctx context.Context, bucket string, fanOutData policy.SetEncryption(fanOutReq.SSE) // Set checksum headers if any. - policy.SetChecksum(fanOutReq.Checksum) + err := policy.SetChecksum(fanOutReq.Checksum) + if err != nil { + return nil, err + } url, formData, err := c.PresignedPostPolicy(ctx, policy) if err != nil { |