mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
clean up s3 bucket references
This commit is contained in:
1 parent
1defee3d68
commit
5c2b2e5513
14 files changed
+26
-617
No files matched your search
@@ -388,7 +388,7 @@ func (s *AdminServer) InvalidateCache() {
|
||||
s.cachedFilers = nil
|
||||
}
|
||||
|
||||
// GetS3Buckets retrieves all S3 buckets from the filer and collects size/object data from collections
|
||||
// GetS3Buckets retrieves all Object Store buckets from the filer and collects size/object data from collections
|
||||
func (s *AdminServer) GetS3Buckets() ([]S3Bucket, error) {
|
||||
var buckets []S3Bucket
|
||||
|
||||
@@ -515,7 +515,7 @@ func (s *AdminServer) GetS3Buckets() ([]S3Bucket, error) {
|
||||
})
|
||||
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to list S3 buckets: %v", err)
|
||||
return nil, fmt.Errorf("failed to list Object Store buckets: %v", err)
|
||||
}
|
||||
|
||||
return buckets, nil
|
||||
|
||||
Reference in new issue
Block a user