aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2021-12-17 11:34:37 -0800
committerchrislu <chris.lu@gmail.com>2021-12-17 11:34:37 -0800
commit85c526c583f6e1eb0a9499ba58fd9250ef25722d (patch)
treed041ac71924c046a4130b66dc9f79d1e033ae4e4 /weed/command/filer.go
parente526a299dc09373736cc64a09c4f6bf20408ced3 (diff)
downloadseaweedfs-85c526c583f6e1eb0a9499ba58fd9250ef25722d.tar.xz
seaweedfs-85c526c583f6e1eb0a9499ba58fd9250ef25722d.zip
s3: bind to a specific IP
fix https://github.com/chrislusf/seaweedfs/issues/2516
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index c5d538bfe..876b1bbf0 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -138,6 +138,7 @@ func runFiler(cmd *Command, args []string) bool {
startDelay := time.Duration(2)
if *filerStartS3 {
filerS3Options.filer = &filerAddress
+ filerS3Options.bindIp = f.bindIp
go func() {
time.Sleep(startDelay * time.Second)
filerS3Options.startS3Server()