aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_remote_mount_buckets.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-09-05 13:27:35 -0700
committerChris Lu <chris.lu@gmail.com>2021-09-05 13:27:35 -0700
commit32e94de86a6014b236f0017b1ac392ab65344972 (patch)
tree7433bcd59579b5b3ff2396b30706d2941ef354c5 /weed/shell/command_remote_mount_buckets.go
parent60573fd3e29d83a296dd58fed960cb3d13c20dda (diff)
downloadseaweedfs-32e94de86a6014b236f0017b1ac392ab65344972.tar.xz
seaweedfs-32e94de86a6014b236f0017b1ac392ab65344972.zip
default auto trimming suffix to true
Diffstat (limited to 'weed/shell/command_remote_mount_buckets.go')
-rw-r--r--weed/shell/command_remote_mount_buckets.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_remote_mount_buckets.go b/weed/shell/command_remote_mount_buckets.go
index 08a0903f7..f5fec9ab4 100644
--- a/weed/shell/command_remote_mount_buckets.go
+++ b/weed/shell/command_remote_mount_buckets.go
@@ -44,7 +44,7 @@ func (c *commandRemoteMountBuckets) Do(args []string, commandEnv *CommandEnv, wr
remote := remoteMountBucketsCommand.String("remote", "", "a already configured storage name")
bucketPattern := remoteMountBucketsCommand.String("bucketPattern", "", "match existing bucket name with wildcard characters '*' and '?'")
- trimBucketSuffix := remoteMountBucketsCommand.Bool("trimBucketSuffix", false, "remote suffix auto generated by 'weed filer.remote.sync'")
+ trimBucketSuffix := remoteMountBucketsCommand.Bool("trimBucketSuffix", true, "remote suffix auto generated by 'weed filer.remote.sync'")
apply := remoteMountBucketsCommand.Bool("apply", false, "apply the mount for listed buckets")
if err = remoteMountBucketsCommand.Parse(args); err != nil {