From 6bf6f621b450f8661757513898cdbde320d16675 Mon Sep 17 00:00:00 2001 From: crapStone Date: Thu, 18 Jan 2024 21:29:23 +0100 Subject: [PATCH] fix lints --- server/startup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/startup.go b/server/startup.go index 6e5a823..ffdabb7 100644 --- a/server/startup.go +++ b/server/startup.go @@ -43,7 +43,7 @@ func Serve(ctx *cli.Context) error { } log.Logger = zerolog.New(zerolog.ConsoleWriter{Out: os.Stderr}).With().Timestamp().Logger().Level(logLevel) - foo, err := json.Marshal(cfg) + foo, _ := json.Marshal(cfg) log.Trace().RawJSON("config", foo).Msg("starting server with config") listeningSSLAddress := fmt.Sprintf("%s:%d", cfg.Server.Host, cfg.Server.Port)