mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 04:00:25 +03:00
Limit memory mode at 100 buckets and return error appropriately
~~~ mc: <ERROR> Failed to create bucket for URL [http://localhost:9000/newbucket-101]. Reason: [You have attempted to create more buckets than allowed.]. ~~~ Response from server
This commit is contained in:
@@ -20,12 +20,13 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"time"
|
||||
|
||||
router "github.com/gorilla/mux"
|
||||
"github.com/minio-io/minio/pkg/api/config"
|
||||
"github.com/minio-io/minio/pkg/api/quota"
|
||||
"github.com/minio-io/minio/pkg/iodine"
|
||||
"github.com/minio-io/minio/pkg/storage/drivers"
|
||||
"time"
|
||||
)
|
||||
|
||||
// private use
|
||||
|
||||
Reference in New Issue
Block a user