aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLHHDZ <changlin.shi@ly.com>2022-09-14 21:33:00 +0800
committerGitHub <noreply@github.com>2022-09-14 06:33:00 -0700
commit6d2000e8dad0d8c2adb67cf1e48d9625f9b22eff (patch)
tree5059f93e4bf9e8a351dae7d0255da557356ce7f0
parentc9f573eed8996af52ee4c88cfac9a4efd0501c08 (diff)
downloadseaweedfs-6d2000e8dad0d8c2adb67cf1e48d9625f9b22eff.tar.xz
seaweedfs-6d2000e8dad0d8c2adb67cf1e48d9625f9b22eff.zip
fix 'localFilerSocket' nil pointer (#3654)
-rw-r--r--weed/command/s3.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/s3.go b/weed/command/s3.go
index 33dc7482a..3c35e489c 100644
--- a/weed/command/s3.go
+++ b/weed/command/s3.go
@@ -57,6 +57,7 @@ func init() {
s3StandaloneOptions.metricsHttpPort = cmdS3.Flag.Int("metricsPort", 0, "Prometheus metrics listen port")
s3StandaloneOptions.allowEmptyFolder = cmdS3.Flag.Bool("allowEmptyFolder", true, "allow empty folders")
s3StandaloneOptions.allowDeleteBucketNotEmpty = cmdS3.Flag.Bool("allowDeleteBucketNotEmpty", true, "allow recursive deleting all entries along with bucket")
+ s3StandaloneOptions.localFilerSocket = cmdS3.Flag.String("localFilerSocket", "", "local filer socket path")
}
var cmdS3 = &Command{