aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-03 22:56:59 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-03 22:56:59 -0700
commitbbc77f7af46d5938c059917d9c0c43ef7bb8a049 (patch)
treece14416946afa0d210e7e8724070406e980a07f8
parentcc36f5b01f8fc1471ba787d91e31d38d72ed3afb (diff)
downloadseaweedfs-bbc77f7af46d5938c059917d9c0c43ef7bb8a049.tar.xz
seaweedfs-bbc77f7af46d5938c059917d9c0c43ef7bb8a049.zip
fix compilation
-rw-r--r--weed/remote_storage/gcs/gcs_storage_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/remote_storage/gcs/gcs_storage_client.go b/weed/remote_storage/gcs/gcs_storage_client.go
index 37af91f55..fce7ba945 100644
--- a/weed/remote_storage/gcs/gcs_storage_client.go
+++ b/weed/remote_storage/gcs/gcs_storage_client.go
@@ -208,7 +208,7 @@ func (gcs *gcsRemoteStorageClient) ListBuckets() (buckets []*remote_storage.Buck
break
}
if err != nil {
- return
+ return buckets, err
}
buckets = append(buckets, &remote_storage.Bucket{
Name: b.Name,