aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--weed/command/filer.go4
-rw-r--r--weed/command/server.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/filer.go b/weed/command/filer.go
index 30a8b6412..75809008d 100644
--- a/weed/command/filer.go
+++ b/weed/command/filer.go
@@ -74,12 +74,12 @@ var cmdFiler = &Command{
func runFiler(cmd *Command, args []string) bool {
- f.start()
+ f.startFiler()
return true
}
-func (fo *FilerOptions) start() {
+func (fo *FilerOptions) startFiler() {
defaultMux := http.NewServeMux()
publicVolumeMux := defaultMux
diff --git a/weed/command/server.go b/weed/command/server.go
index 842a32376..7cd245b94 100644
--- a/weed/command/server.go
+++ b/weed/command/server.go
@@ -164,7 +164,7 @@ func runServer(cmd *Command, args []string) bool {
go func() {
time.Sleep(1 * time.Second)
- filerOptions.start()
+ filerOptions.startFiler()
}()
}