Skip to content

Commit

Permalink
squash: fix(server): don't setup the logger again
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinkChaos committed Nov 19, 2023
1 parent b871eb5 commit 2c3f36b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ func retrieveCertificate(cfg *config.Config) (cert tls.Certificate, err error) {
//
//nolint:funlen
func NewServer(ctx context.Context, cfg *config.Config) (server *Server, err error) {
log.ConfigureLogger(&cfg.Log)

var cert tls.Certificate

if len(cfg.Ports.HTTPS) > 0 || len(cfg.Ports.TLS) > 0 {
Expand Down

0 comments on commit 2c3f36b

Please sign in to comment.