Skip to content

Commit

Permalink
Remove redundant return statement from health.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Harrison Katz committed Jun 28, 2020
1 parent 33297c9 commit 5db0769
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/web/health.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,5 @@ func Health(healthyMessage string) http.Handler {

// Healthz replies with a zero byte 200 response
func Healthz() http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
return
})
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {})
}

0 comments on commit 5db0769

Please sign in to comment.