Browse Source

refactor func name

pull/753/head
Chris Lu 6 years ago
parent
commit
60d2f1557d
  1. 4
      weed/command/filer.go
  2. 2
      weed/command/server.go

4
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

2
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()
}()
}

Loading…
Cancel
Save