aboutsummaryrefslogtreecommitdiff
path: root/weed/command/server.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-02-18 12:15:09 -0800
committerChris Lu <chris.lu@gmail.com>2021-02-18 12:15:09 -0800
commitc2ad6f104757b2d58c9a354400d4ec8bca268c3e (patch)
tree9fac013c2e8c22174320778d4581d051a03d59d0 /weed/command/server.go
parent816ef0ed302c263939ce900a01624f80dbdf17b9 (diff)
downloadseaweedfs-c2ad6f104757b2d58c9a354400d4ec8bca268c3e.tar.xz
seaweedfs-c2ad6f104757b2d58c9a354400d4ec8bca268c3e.zip
webdav add replication setting
fix https://github.com/chrislusf/seaweedfs/issues/1817
Diffstat (limited to 'weed/command/server.go')
-rw-r--r--weed/command/server.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/server.go b/weed/command/server.go
index 61cac2cc7..f5a07e981 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -121,6 +121,7 @@ func init() {
webdavOptions.port = cmdServer.Flag.Int("webdav.port", 7333, "webdav server http listen port")
webdavOptions.collection = cmdServer.Flag.String("webdav.collection", "", "collection to create the files")
+ webdavOptions.replication = cmdServer.Flag.String("webdav.replication", "", "replication to create the files")
webdavOptions.tlsPrivateKey = cmdServer.Flag.String("webdav.key.file", "", "path to the TLS private key file")
webdavOptions.tlsCertificate = cmdServer.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
webdavOptions.cacheDir = cmdServer.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")