Browse Source

[filer] fix panic filer on webdav.maxMB (#5822)

fix panic filer on webdav.maxMB
pull/5825/head
Konstantin Lebedev 5 months ago
committed by GitHub
parent
commit
e1f9336688
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      weed/command/filer.go

1
weed/command/filer.go

@ -130,6 +130,7 @@ func init() {
filerWebDavOptions.tlsCertificate = cmdFiler.Flag.String("webdav.cert.file", "", "path to the TLS certificate file")
filerWebDavOptions.cacheDir = cmdFiler.Flag.String("webdav.cacheDir", os.TempDir(), "local cache directory for file chunks")
filerWebDavOptions.cacheSizeMB = cmdFiler.Flag.Int64("webdav.cacheCapacityMB", 0, "local cache capacity in MB")
filerWebDavOptions.maxMB = cmdFiler.Flag.Int("webdav.maxMB", 4, "split files larger than the limit")
filerWebDavOptions.filerRootPath = cmdFiler.Flag.String("webdav.filer.path", "/", "use this remote path from filer server")
// start iam on filer

Loading…
Cancel
Save