Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
Signed-off-by: Ketan Umare <[email protected]>
  • Loading branch information
kumare3 committed Mar 18, 2022
1 parent 4492d03 commit 81d3f7c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,8 @@ func newHTTPServer(ctx context.Context, cfg *config.ServerConfig, _ *authConfig.
mux := http.NewServeMux()

// Add any additional handlers that have been passed in for the main HTTP server
if additionalHandlers != nil {
for p, f := range additionalHandlers {
mux.HandleFunc(p, f)
}
for p, f := range additionalHandlers {
mux.HandleFunc(p, f)
}

// Register healthcheck
Expand Down

0 comments on commit 81d3f7c

Please sign in to comment.