From 95e2b83ca5e8c23a775b4cda6519fc8e5f1161af Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 23 Aug 2021 00:49:59 -0700 Subject: [PATCH] fix format --- weed/remote_storage/gcs/gcs_storage_client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/remote_storage/gcs/gcs_storage_client.go b/weed/remote_storage/gcs/gcs_storage_client.go index 856ebb09e..dd9fd2df6 100644 --- a/weed/remote_storage/gcs/gcs_storage_client.go +++ b/weed/remote_storage/gcs/gcs_storage_client.go @@ -179,7 +179,7 @@ func (gcs *gcsRemoteStorageClient) UpdateFileMetadata(loc *filer_pb.RemoteStorag func (gcs *gcsRemoteStorageClient) DeleteFile(loc *filer_pb.RemoteStorageLocation) (err error) { key := loc.Path[1:] if err = gcs.client.Bucket(loc.Bucket).Object(key).Delete(context.Background()); err != nil { - return fmt.Errorf("gcs delete %gcs%gcs: %v", loc.Bucket, key, err) + return fmt.Errorf("gcs delete %s%s: %v", loc.Bucket, key, err) } return }