aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
authortired-engineer <122563281+tired-engineer@users.noreply.github.com>2023-11-01 18:11:41 +0100
committerGitHub <noreply@github.com>2023-11-01 10:11:41 -0700
commit4ed06e9ba535b8197feca1825f2a703e18fbc466 (patch)
treee93626021e8b6265c9e6afbea6fede2bedd0b0ca /weed/command/filer.go
parentd401e374f7aef02f5fd367c79c0be6778aca2042 (diff)
downloadseaweedfs-4ed06e9ba535b8197feca1825f2a703e18fbc466.tar.xz
seaweedfs-4ed06e9ba535b8197feca1825f2a703e18fbc466.zip
Pass correct Filer's gRPC port to S3 server. (#4972)
Fixes seaweedfs/seaweedfs#4971
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 7e636974f..fe0beb5b8 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -169,7 +169,7 @@ func runFiler(cmd *Command, args []string) bool {
go stats_collect.StartMetricsServer(*f.bindIp, *f.metricsHttpPort)
- filerAddress := util.JoinHostPort(*f.ip, *f.port)
+ filerAddress := pb.NewServerAddress(*f.ip, *f.port, *f.portGrpc).String()
startDelay := time.Duration(2)
if *filerStartS3 {
filerS3Options.filer = &filerAddress