Browse Source

Pass correct Filer's gRPC port to S3 server. (#4972)

Fixes seaweedfs/seaweedfs#4971
pull/4969/head^2
tired-engineer 1 year ago
committed by GitHub
parent
commit
4ed06e9ba5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      weed/command/filer.go

2
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

Loading…
Cancel
Save