Skip to content

Commit

Permalink
Merge pull request kuberhealthy#1105 from ramirezag/http-check_expect…
Browse files Browse the repository at this point in the history
…ed_status_code_logged_as_error

Fixes Khcheck http-check expected status code logged as Error
  • Loading branch information
integrii committed Mar 7, 2023
2 parents 6c50900 + 509dbe4 commit b489fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@
- [Engin Diri](https://twitter.com/_ediri)
- [Joel Kulesa](https://github.com/jkulesa)
- [McKenna Jones](https://github.com/mckennajones)
- [Erich Stoekl](https://github.com/erichstoekl)
- [Allan Ramirez](https://github.com/ramirezag)
- [Erich Stoekl](https://github.com/erichstoekl)
2 changes: 1 addition & 1 deletion cmd/http-check/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func main() {
checksFailed++
continue
}
log.Errorln("Got a", r.StatusCode, "with a", http.MethodGet, "to", checkURL)
log.Infoln("Got a", r.StatusCode, "with a", http.MethodGet, "to", checkURL)
checksPassed++

// if we have a ticker, we wait for it to tick before checking again
Expand Down

0 comments on commit b489fb6

Please sign in to comment.