Closed clementnuss closed 3 months ago
when an http request produces a status code different than 200, an error is produced: https://github.com/postfinance/kubenurse/blob/e139b8c94ab4940f5af31c5437275991ef19350d/internal/servicecheck/transport.go#L52
200
however, with the changes I introduced in https://github.com/postfinance/kubenurse/pull/125, this status error is now silently discarded.
IMO, we should at least log this error, and we could also consider this as an error and increase the error counter.
@zbindenren what's your take on this. ?
I think we should increase error counter and log it.
when an http request produces a status code different than
200
, an error is produced: https://github.com/postfinance/kubenurse/blob/e139b8c94ab4940f5af31c5437275991ef19350d/internal/servicecheck/transport.go#L52however, with the changes I introduced in https://github.com/postfinance/kubenurse/pull/125, this status error is now silently discarded.
IMO, we should at least log this error, and we could also consider this as an error and increase the error counter.
@zbindenren what's your take on this. ?