Skip to content

Commit

Permalink
Update pkg/metrics/server/server.go
Browse files Browse the repository at this point in the history
Co-authored-by: Stefan Büringer <4662360+sbueringer@users.noreply.github.com>
  • Loading branch information
tomelliot16 and sbueringer committed Jan 22, 2024
1 parent f068f9b commit 11fe5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ func (s *defaultServer) createListener(ctx context.Context, log logr.Logger) (ne
return nil, err
}

return tls.NewListener(l, cfg), err
return tls.NewListener(l, cfg), nil
}

func (s *defaultServer) GetBindAddr() string {
Expand Down

0 comments on commit 11fe5c6

Please sign in to comment.