diff options
| author | chrislu <chris.lu@gmail.com> | 2025-07-18 01:49:44 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-07-18 01:49:44 -0700 |
| commit | 1db149ecc24f5d8771436975a315852637a29d0e (patch) | |
| tree | 14e296db159e0ffecfa81515c9c724ec34e20613 /weed/s3api/s3api_bucket_config.go | |
| parent | 59f8444a90537cde0202bcc30b6d2b8cfade4840 (diff) | |
| download | seaweedfs-1db149ecc24f5d8771436975a315852637a29d0e.tar.xz seaweedfs-1db149ecc24f5d8771436975a315852637a29d0e.zip | |
address comments
Diffstat (limited to 'weed/s3api/s3api_bucket_config.go')
| -rw-r--r-- | weed/s3api/s3api_bucket_config.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3api_bucket_config.go b/weed/s3api/s3api_bucket_config.go index 725ee3596..4f629023d 100644 --- a/weed/s3api/s3api_bucket_config.go +++ b/weed/s3api/s3api_bucket_config.go @@ -211,7 +211,7 @@ func (s3a *S3ApiServer) isVersioningEnabled(bucket string) (bool, error) { if errCode == s3err.ErrNoSuchBucket { return false, filer_pb.ErrNotFound } - return false, fmt.Errorf("failed to get bucket config: %v", errCode) + return false, fmt.Errorf("failed to get bucket config: %s", errCode) } return config.Versioning == "Enabled", nil |
