mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
refactor func name
This commit is contained in:
parent
b7763c1cb6
commit
60d2f1557d
|
@ -74,12 +74,12 @@ var cmdFiler = &Command{
|
||||||
|
|
||||||
func runFiler(cmd *Command, args []string) bool {
|
func runFiler(cmd *Command, args []string) bool {
|
||||||
|
|
||||||
f.start()
|
f.startFiler()
|
||||||
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fo *FilerOptions) start() {
|
func (fo *FilerOptions) startFiler() {
|
||||||
|
|
||||||
defaultMux := http.NewServeMux()
|
defaultMux := http.NewServeMux()
|
||||||
publicVolumeMux := defaultMux
|
publicVolumeMux := defaultMux
|
||||||
|
|
|
@ -164,7 +164,7 @@ func runServer(cmd *Command, args []string) bool {
|
||||||
go func() {
|
go func() {
|
||||||
time.Sleep(1 * time.Second)
|
time.Sleep(1 * time.Second)
|
||||||
|
|
||||||
filerOptions.start()
|
filerOptions.startFiler()
|
||||||
|
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue