Browse Source

fix filer starting under "weed server" when ip is not localhost

fix https://github.com/chrislusf/seaweedfs/issues/886
pull/895/head
Chris Lu 6 years ago
parent
commit
d30600e6d6
  1. 2
      weed/command/filer.go

2
weed/command/filer.go

@ -99,7 +99,7 @@ func (fo *FilerOptions) startFiler() {
}
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
Masters: strings.Split(*f.masters, ","),
Masters: strings.Split(*fo.masters, ","),
Collection: *fo.collection,
DefaultReplication: *fo.defaultReplicaPlacement,
RedirectOnRead: *fo.redirectOnRead,

Loading…
Cancel
Save