Browse Source

fix format

pull/2280/head 2.64
Chris Lu 3 years ago
parent
commit
95e2b83ca5
  1. 2
      weed/remote_storage/gcs/gcs_storage_client.go

2
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
}
Loading…
Cancel
Save