s3: add command option "allowEmptyFolder" to filer and server

This commit is contained in:
Chris Lu
2020-12-27 21:09:06 -08:00
parent da7e5aaa65
commit 90df52d001
2 changed files with 2 additions and 0 deletions

View File

@@ -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{