mirror of
https://github.com/minio/minio.git
synced 2025-11-13 07:11:44 -05:00
routers: Move API and Web routers into their own files.
This is done to ensure we have a clean way to add new routers such as - diskRouter - configRouter - lockRouter
This commit is contained in:
@@ -168,7 +168,7 @@ func (web *webAPI) ListBuckets(r *http.Request, args *ListBucketsArgs, reply *Li
|
||||
}
|
||||
for _, bucket := range buckets {
|
||||
// List all buckets which are not private.
|
||||
if bucket.Name != path.Base(privateBucket) {
|
||||
if bucket.Name != path.Base(reservedBucket) {
|
||||
reply.Buckets = append(reply.Buckets, BucketInfo{
|
||||
Name: bucket.Name,
|
||||
CreationDate: bucket.CreationDate,
|
||||
|
||||
Reference in New Issue
Block a user