Fix server naming

This commit is contained in:
Benedikt Kulmann
2020-07-02 08:13:24 +02:00
parent cabfb96fc5
commit 7faf5ca52f
2 changed files with 2 additions and 2 deletions

View File

@@ -161,7 +161,7 @@ func Server(cfg *config.Config) *cli.Command {
gr.Add(server.Run, func(_ error) {
logger.Info().
Str("server", "http").
Str("server", "grpc").
Msg("Shutting down server")
cancel()

View File

@@ -46,7 +46,7 @@ func Server(opts ...Option) http.Service {
)
mux.Use(middleware.Version(
"settings",
options.Name,
version.String,
))