aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_s3_bucket_create.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/shell/command_s3_bucket_create.go')
-rw-r--r--weed/shell/command_s3_bucket_create.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/weed/shell/command_s3_bucket_create.go b/weed/shell/command_s3_bucket_create.go
index 35ecae4ee..3476e6926 100644
--- a/weed/shell/command_s3_bucket_create.go
+++ b/weed/shell/command_s3_bucket_create.go
@@ -34,9 +34,6 @@ 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 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
}
@@ -59,11 +56,9 @@ func (c *commandS3BucketCreate) Do(args []string, commandEnv *CommandEnv, writer
Name: *bucketName,
IsDirectory: true,
Attributes: &filer_pb.FuseAttributes{
- Mtime: time.Now().Unix(),
- Crtime: time.Now().Unix(),
- FileMode: uint32(0777 | os.ModeDir),
- Collection: *bucketName,
- Replication: *replication,
+ Mtime: time.Now().Unix(),
+ Crtime: time.Now().Unix(),
+ FileMode: uint32(0777 | os.ModeDir),
},
}