mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 04:43:38 +08:00
refactor func name
This commit is contained in:
@@ -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
|
||||
|
@@ -164,7 +164,7 @@ func runServer(cmd *Command, args []string) bool {
|
||||
go func() {
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
filerOptions.start()
|
||||
filerOptions.startFiler()
|
||||
|
||||
}()
|
||||
}
|
||||
|
Reference in New Issue
Block a user