aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-12-27 21:09:06 -0800
committerChris Lu <chris.lu@gmail.com>2020-12-27 21:09:06 -0800
commit90df52d001ba116a622d14fb3ed7c78c7b4f2225 (patch)
tree88caedc25aaeb8f77e34f5901beee7c671a319d2 /weed/command/filer.go
parentda7e5aaa65fc6e54bfdb8829d95d3e5f46bf2b30 (diff)
downloadseaweedfs-90df52d001ba116a622d14fb3ed7c78c7b4f2225.tar.xz
seaweedfs-90df52d001ba116a622d14fb3ed7c78c7b4f2225.zip
s3: add command option "allowEmptyFolder" to filer and server
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index a3008eb29..146840e00 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -74,6 +74,7 @@ func init() {
filerS3Options.tlsPrivateKey = cmdFiler.Flag.String("s3.key.file", "", "path to the TLS private key file")
filerS3Options.tlsCertificate = cmdFiler.Flag.String("s3.cert.file", "", "path to the TLS certificate file")
filerS3Options.config = cmdFiler.Flag.String("s3.config", "", "path to the config file")
+ filerS3Options.allowEmptyFolder = cmdFiler.Flag.Bool("s3.allowEmptyFolder", false, "allow empty folders")
}
var cmdFiler = &Command{