mirror of
https://github.com/minio/minio.git
synced 2025-12-01 13:52:34 -05:00
fs: Do not return reservedBucket names in ListBuckets() (#3754)
Make sure to skip reserved bucket names in `ListBuckets()` current code didn't skip this properly and also generalize this behavior for both XL and FS.
This commit is contained in:
@@ -34,7 +34,7 @@ type networkStorage struct {
|
||||
}
|
||||
|
||||
const (
|
||||
storageRPCPath = reservedBucket + "/storage"
|
||||
storageRPCPath = minioReservedBucketPath + "/storage"
|
||||
)
|
||||
|
||||
// Converts rpc.ServerError to underlying error. This function is
|
||||
|
||||
Reference in New Issue
Block a user