mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-11-28 21:39:02 +08:00
small refactoring
This commit is contained in:
parent
c81f1cda47
commit
2e427c66ac
@ -88,10 +88,8 @@ func (fo *FilerOptions) start() {
|
||||
publicVolumeMux = http.NewServeMux()
|
||||
}
|
||||
|
||||
masters := *f.masters
|
||||
|
||||
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
|
||||
Masters: strings.Split(masters, ","),
|
||||
Masters: strings.Split(*f.masters, ","),
|
||||
Collection: *f.collection,
|
||||
DefaultReplication: *f.defaultReplicaPlacement,
|
||||
RedirectOnRead: *f.redirectOnRead,
|
||||
|
Loading…
Reference in New Issue
Block a user