1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-07-03 23:56:41 +02:00

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

fix https://github.com/chrislusf/seaweedfs/issues/886
This commit is contained in:
Chris Lu 2019-03-15 09:57:33 -07:00
parent 43e9dc3cf2
commit d30600e6d6

View file

@ -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,