From 6d2000e8dad0d8c2adb67cf1e48d9625f9b22eff Mon Sep 17 00:00:00 2001 From: LHHDZ Date: Wed, 14 Sep 2022 21:33:00 +0800 Subject: [PATCH] fix 'localFilerSocket' nil pointer (#3654) --- weed/command/s3.go | 1 + 1 file changed, 1 insertion(+) 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{