From 53b9b521c9f385d5ed606c3b6b46ba782fa19ee1 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 4 Sep 2021 13:46:06 -0700 Subject: [PATCH] adjust error message --- weed/remote_storage/s3/s3_storage_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }