Skip to content

Commit

Permalink
Update common/network_manager.go
Browse files Browse the repository at this point in the history
Co-authored-by: ka3de <daniel.jimenez@grafana.com>
  • Loading branch information
ankur22 and ka3de committed May 25, 2023
1 parent 579499b commit ae0319a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/network_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (m *NetworkManager) emitResponseMetrics(resp *Response, req *Request) {
wallTime = resp.wallTime
url = resp.url
// Assuming that a failure is when status
// is between 200 and 399 (inclusive).
// is not between 200 and 399 (inclusive).
if status < 200 || status > 399 {
failed = 1
}
Expand Down

0 comments on commit ae0319a

Please sign in to comment.