diff options
| author | 2023-07-31 09:47:25 +0100 | |
|---|---|---|
| committer | 2023-07-31 09:47:25 +0100 | |
| commit | 9ed9d96597f7f2ecd4e51e5ea1449dd6c08eeeeb (patch) | |
| tree | f4acb280b255e490ba8be77e73c9795d68c11754 /vendor/github.com/minio/minio-go/v7/post-policy.go | |
| parent | [feature] Implement markers API (#1989) (diff) | |
| download | gotosocial-9ed9d96597f7f2ecd4e51e5ea1449dd6c08eeeeb.tar.xz | |
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.60 to 7.0.61 (#2041)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/post-policy.go')
| -rw-r--r-- | vendor/github.com/minio/minio-go/v7/post-policy.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/post-policy.go b/vendor/github.com/minio/minio-go/v7/post-policy.go index 0191909bd..3f4881e82 100644 --- a/vendor/github.com/minio/minio-go/v7/post-policy.go +++ b/vendor/github.com/minio/minio-go/v7/post-policy.go @@ -241,7 +241,7 @@ func (p *PostPolicy) SetSuccessStatusAction(status string) error { // SetUserMetadata - Set user metadata as a key/value couple. // Can be retrieved through a HEAD request or an event. -func (p *PostPolicy) SetUserMetadata(key string, value string) error { +func (p *PostPolicy) SetUserMetadata(key, value string) error { if strings.TrimSpace(key) == "" || key == "" { return errInvalidArgument("Key is empty") } @@ -283,7 +283,7 @@ func (p *PostPolicy) SetEncryption(sse encrypt.ServerSide) { // SetUserData - Set user data as a key/value couple. // Can be retrieved through a HEAD request or an event. -func (p *PostPolicy) SetUserData(key string, value string) error { +func (p *PostPolicy) SetUserData(key, value string) error { if key == "" { return errInvalidArgument("Key is empty") } |
