mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-08-25 04:07:12 +08:00
[shell] Clarify bucket replication setting order
This commit is contained in:
parent
da134a2eb7
commit
385a4dec30
@ -34,7 +34,9 @@ func (c *commandS3BucketCreate) Do(args []string, commandEnv *CommandEnv, writer
|
|||||||
|
|
||||||
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 filer or master")
|
replication := bucketCommand.String("replication", "", "replication setting for the bucket, if not set "+
|
||||||
|
"it will honor the value defined by the filer if it exists, "+
|
||||||
|
"else it will honor the value defined on the master")
|
||||||
if err = bucketCommand.Parse(args); err != nil {
|
if err = bucketCommand.Parse(args); err != nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user