mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Pass correct Filer's gRPC port to S3 server. (#4972)
Fixes seaweedfs/seaweedfs#4971
This commit is contained in:
parent
d401e374f7
commit
4ed06e9ba5
|
@ -169,7 +169,7 @@ func runFiler(cmd *Command, args []string) bool {
|
||||||
|
|
||||||
go stats_collect.StartMetricsServer(*f.bindIp, *f.metricsHttpPort)
|
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)
|
startDelay := time.Duration(2)
|
||||||
if *filerStartS3 {
|
if *filerStartS3 {
|
||||||
filerS3Options.filer = &filerAddress
|
filerS3Options.filer = &filerAddress
|
||||||
|
|
Loading…
Reference in a new issue