refactor func name

This commit is contained in:
Chris Lu 2018-10-10 23:19:54 -07:00
parent b7763c1cb6
commit 60d2f1557d
2 changed files with 3 additions and 3 deletions

View file

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

View file

@ -164,7 +164,7 @@ func runServer(cmd *Command, args []string) bool {
go func() {
time.Sleep(1 * time.Second)
filerOptions.start()
filerOptions.startFiler()
}()
}