aboutsummaryrefslogtreecommitdiff
path: root/weed/command
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2023-11-01 16:28:05 -0700
committerchrislu <chris.lu@gmail.com>2023-11-01 16:28:05 -0700
commitb40ba7c7feff71f78339b67c70444172c513dfb5 (patch)
tree4fdfe7be2dd88bce92dbe54542676cd321107ec9 /weed/command
parent310eec9a9c1ad6fe3ab68dd7921ab9e9afb2e91e (diff)
parent3834ad5c486906f183a5ab8f71083682f2e14677 (diff)
downloadseaweedfs-b40ba7c7feff71f78339b67c70444172c513dfb5.tar.xz
seaweedfs-b40ba7c7feff71f78339b67c70444172c513dfb5.zip
Merge branch 'master' of https://github.com/seaweedfs/seaweedfs
Diffstat (limited to 'weed/command')
-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