mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-22 05:08:51 +08:00
filer first, master second
This commit is contained in:
@@ -34,7 +34,7 @@ func (c *commandBucketCreate) Do(args []string, commandEnv *CommandEnv, writer i
|
|||||||
|
|
||||||
bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
|
bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
|
||||||
bucketName := bucketCommand.String("name", "", "bucket name")
|
bucketName := bucketCommand.String("name", "", "bucket name")
|
||||||
replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set it will honor the setting defined by the master")
|
replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set it will honor the setting defined by the filer or master")
|
||||||
if err = bucketCommand.Parse(args); err != nil {
|
if err = bucketCommand.Parse(args); err != nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user