aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/filer.go')
-rw-r--r--weed/command/filer.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 8449d84ae..17f2fbdcf 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -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,