chore: fix grammar and typos in comments (#5279)

This commit is contained in:
Gregor Fischer
2025-11-16 12:27:17 +01:00
committed by GitHub
parent 866613af8c
commit 052de3b552
8 changed files with 9 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ func AddProbe(probe Probe) {
defaultHealthManager.addProbe(probe)
}
// CreateHttpHandler create health http handler base on given probe.
// CreateHttpHandler creates a health http handler based on the given probe.
func CreateHttpHandler(healthResponse string) http.HandlerFunc {
return func(w http.ResponseWriter, _ *http.Request) {
if defaultHealthManager.IsReady() {