aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,