This commit is contained in:
parent
8c11d75d8c
commit
1a514922c8
1
main.go
1
main.go
|
@ -118,6 +118,7 @@ func startServer(opts *config.Options) (err error) {
|
||||||
err = rpc.StartRpc()
|
err = rpc.StartRpc()
|
||||||
case "admin":
|
case "admin":
|
||||||
err = server.StartHttp(pidFile, conf.Admin, routes.RegisterAdminRoute)
|
err = server.StartHttp(pidFile, conf.Admin, routes.RegisterAdminRoute)
|
||||||
|
|
||||||
default:
|
default:
|
||||||
err = errors.New("no server start")
|
err = errors.New("no server start")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue