Browse Source

initialize master address in iam options

pull/2696/head
Tuan Vuong 3 years ago
parent
commit
d2ec62656d
  1. 1
      weed/command/server.go

1
weed/command/server.go

@ -190,6 +190,7 @@ func runServer(cmd *Command, args []string) bool {
filerOptions.ip = serverIp
filerOptions.bindIp = serverBindIp
s3Options.bindIp = serverBindIp
iamOptions.masters = masterOptions.peers
serverOptions.v.ip = serverIp
serverOptions.v.bindIp = serverBindIp
serverOptions.v.masters = pb.ServerAddresses(*masterOptions.peers).ToAddresses()

Loading…
Cancel
Save