Browse Source

fix wrong assignment

pull/3020/head
chrislu 3 years ago
parent
commit
b201edb9df
  1. 3
      weed/server/master_server.go

3
weed/server/master_server.go

@ -272,7 +272,8 @@ func (ms *MasterServer) startAdminScripts() {
shellOptions.Masters = &masterAddress shellOptions.Masters = &masterAddress
shellOptions.Directory = "/" shellOptions.Directory = "/"
*shellOptions.FilerGroup = ""
emptyFilerGroup := ""
shellOptions.FilerGroup = &emptyFilerGroup
commandEnv := shell.NewCommandEnv(&shellOptions) commandEnv := shell.NewCommandEnv(&shellOptions)

Loading…
Cancel
Save