aboutsummaryrefslogtreecommitdiff
path: root/weed/s3api/s3api_bucket_config.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/s3api/s3api_bucket_config.go')
-rw-r--r--weed/s3api/s3api_bucket_config.go2
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