This commit is contained in:
qiyunfanbo126.com 2024-04-29 16:28:14 +08:00
parent 8c11d75d8c
commit 1a514922c8
1 changed files with 1 additions and 0 deletions

View File

@ -118,6 +118,7 @@ func startServer(opts *config.Options) (err error) {
err = rpc.StartRpc()
case "admin":
err = server.StartHttp(pidFile, conf.Admin, routes.RegisterAdminRoute)
default:
err = errors.New("no server start")
}