diff --git a/main.go b/main.go index 83c89e1..04ce210 100644 --- a/main.go +++ b/main.go @@ -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") }