diff --git a/weed/remote_storage/s3/s3_storage_client.go b/weed/remote_storage/s3/s3_storage_client.go index 5ad6d04a2..fc00bcfe5 100644 --- a/weed/remote_storage/s3/s3_storage_client.go +++ b/weed/remote_storage/s3/s3_storage_client.go @@ -262,7 +262,7 @@ func (s *s3RemoteStorageClient) CreateBucket(name string) (err error) { ObjectLockEnabledForBucket: nil, }) if err != nil { - return fmt.Errorf("create bucket %s: %v", name, err) + return fmt.Errorf("%s create bucket %s: %v", s.conf.Name, name, err) } return }