mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Adding donut backend and setting as default
This commit is contained in:
6
main.go
6
main.go
@@ -30,6 +30,8 @@ func getStorageType(input string) server.StorageType {
|
||||
return server.File
|
||||
case input == "memory":
|
||||
return server.Memory
|
||||
case input == "donut":
|
||||
return server.Donut
|
||||
default:
|
||||
{
|
||||
log.Println("Unknown storage type:", input)
|
||||
@@ -109,8 +111,8 @@ func main() {
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "storage-type,s",
|
||||
Value: "file",
|
||||
Usage: "valid entries: file,inmemory",
|
||||
Value: "donut",
|
||||
Usage: "valid entries: file,inmemory,donut",
|
||||
},
|
||||
}
|
||||
app.Action = runCmd
|
||||
|
||||
Reference in New Issue
Block a user