aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>2020-12-23 09:07:31 +0100
committerBaptiste Mille-Mathias <baptiste.millemathias@gmail.com>2020-12-23 09:35:24 +0100
commit385a4dec30f4b9a64f9cd72f46ac3757cda23c09 (patch)
tree268c3e53821cb4e2f7e19cfbf790d53b1706c35f
parentda134a2eb74c12dec110db20cc882c768f2f41c2 (diff)
downloadseaweedfs-385a4dec30f4b9a64f9cd72f46ac3757cda23c09.tar.xz
seaweedfs-385a4dec30f4b9a64f9cd72f46ac3757cda23c09.zip
[shell] Clarify bucket replication setting order
-rw-r--r--weed/shell/command_s3_bucket_create.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.go
index 28cf1d945..a512ffc4a 100644
--- a/weed/shell/command_s3_bucket_create.go
+++ b/weed/shell/command_s3_bucket_create.go
@@ -34,7 +34,9 @@ func (c *commandS3BucketCreate) Do(args []string, commandEnv *CommandEnv, writer
bucketCommand := flag.NewFlagSet(c.Name(), flag.ContinueOnError)
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 {
return nil
}