summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/api-remove.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2025-02-10 15:30:29 +0000
committerLibravatar GitHub <noreply@github.com>2025-02-10 15:30:29 +0000
commitbb6d2f8ee8db01794c03dad2ef96905ffe76f9ad (patch)
treee4e6f5b72b4841965f29a47f38a2b518324ac1ae /vendor/github.com/minio/minio-go/v7/api-remove.go
parent[chore]: Bump golang.org/x/image from 0.23.0 to 0.24.0 (#3773) (diff)
downloadgotosocial-bb6d2f8ee8db01794c03dad2ef96905ffe76f9ad.tar.xz
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.84 to 7.0.85 (#3772)
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/api-remove.go')
-rw-r--r--vendor/github.com/minio/minio-go/v7/api-remove.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/api-remove.go b/vendor/github.com/minio/minio-go/v7/api-remove.go
index d2e932923..523431351 100644
--- a/vendor/github.com/minio/minio-go/v7/api-remove.go
+++ b/vendor/github.com/minio/minio-go/v7/api-remove.go
@@ -213,6 +213,14 @@ type RemoveObjectError struct {
Err error
}
+func (err *RemoveObjectError) Error() string {
+ // This should never happen as we will have a non-nil error with no underlying error.
+ if err.Err == nil {
+ return "unexpected remove object error result"
+ }
+ return err.Err.Error()
+}
+
// RemoveObjectResult - container of Multi Delete S3 API result
type RemoveObjectResult struct {
ObjectName string