diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2020-12-23 06:12:49 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-23 06:12:49 -0800 |
| commit | dc19bc2ace82e124455a7401d8542898605d76cc (patch) | |
| tree | 268c3e53821cb4e2f7e19cfbf790d53b1706c35f | |
| parent | da134a2eb74c12dec110db20cc882c768f2f41c2 (diff) | |
| parent | 385a4dec30f4b9a64f9cd72f46ac3757cda23c09 (diff) | |
| download | seaweedfs-dc19bc2ace82e124455a7401d8542898605d76cc.tar.xz seaweedfs-dc19bc2ace82e124455a7401d8542898605d76cc.zip | |
Merge pull request #1700 from bmillemathias/master
[shell] Clarify bucket replication setting order
| -rw-r--r-- | weed/shell/command_s3_bucket_create.go | 4 |
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 } |
