diff options
author | 2023-02-13 07:46:15 +0000 | |
---|---|---|
committer | 2023-02-13 07:46:15 +0000 | |
commit | efbc5dab6a041e81fbf4c4eccbae43a7a9997566 (patch) | |
tree | 06f6dcbbf36065147a7984fd6c5b39ccec3c3f65 /vendor/github.com/minio/minio-go/v7/pkg/credentials | |
parent | [chore]: Bump golang.org/x/image from 0.3.0 to 0.4.0 (#1485) (diff) | |
download | gotosocial-efbc5dab6a041e81fbf4c4eccbae43a7a9997566.tar.xz |
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.47 to 7.0.48 (#1486)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.47 to 7.0.48.
- [Release notes](https://github.com/minio/minio-go/releases)
- [Commits](https://github.com/minio/minio-go/compare/v7.0.47...v7.0.48)
---
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/pkg/credentials')
-rw-r--r-- | vendor/github.com/minio/minio-go/v7/pkg/credentials/sts_tls_identity.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/pkg/credentials/sts_tls_identity.go b/vendor/github.com/minio/minio-go/v7/pkg/credentials/sts_tls_identity.go index a0ad09046..dee0a8cbb 100644 --- a/vendor/github.com/minio/minio-go/v7/pkg/credentials/sts_tls_identity.go +++ b/vendor/github.com/minio/minio-go/v7/pkg/credentials/sts_tls_identity.go @@ -140,6 +140,9 @@ func (i *STSCertificateIdentity) Retrieve() (Value, error) { if err != nil { return Value{}, err } + if req.Form == nil { + req.Form = url.Values{} + } req.Form.Add("DurationSeconds", strconv.FormatUint(uint64(livetime.Seconds()), 10)) resp, err := i.Client.Do(req) |