mirror of
https://github.com/grafana/grafana.git
synced 2024-12-29 10:21:41 -06:00
tech(tsdb): ops <o>
This commit is contained in:
parent
46d4f817e3
commit
071f2205e1
@ -102,7 +102,7 @@ func (e *GraphiteExecutor) parseResponse(res *http.Response) ([]TargetResponseDT
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if res.StatusCode/100 != 200 {
|
||||
if res.StatusCode/100 != 2 {
|
||||
glog.Info("Request failed", "status", res.Status, "body", string(body))
|
||||
return nil, fmt.Errorf("Request failed status: %v", res.Status)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user