mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-21 15:45:01 +00:00
app/vmselect/netstorage: run make fmt
after 58326dbf25
This commit is contained in:
parent
e40e91f342
commit
730cb73109
1 changed files with 2 additions and 2 deletions
|
@ -1752,7 +1752,7 @@ func (snr *storageNodesRequest) collectResults(partialResultsCounter *metrics.Co
|
||||||
|
|
||||||
// Returns 503 status code for partial response, so the caller could retry it if needed.
|
// Returns 503 status code for partial response, so the caller could retry it if needed.
|
||||||
err = &httpserver.ErrorWithStatusCode{
|
err = &httpserver.ErrorWithStatusCode{
|
||||||
Err: err,
|
Err: err,
|
||||||
StatusCode: http.StatusServiceUnavailable,
|
StatusCode: http.StatusServiceUnavailable,
|
||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
|
@ -1783,7 +1783,7 @@ func (snr *storageNodesRequest) collectResults(partialResultsCounter *metrics.Co
|
||||||
// Return only the first error, since it has no sense in returning all errors.
|
// Return only the first error, since it has no sense in returning all errors.
|
||||||
// Returns 503 status code for partial response, so the caller could retry it if needed.
|
// Returns 503 status code for partial response, so the caller could retry it if needed.
|
||||||
err := &httpserver.ErrorWithStatusCode{
|
err := &httpserver.ErrorWithStatusCode{
|
||||||
Err: errsPartial[0],
|
Err: errsPartial[0],
|
||||||
StatusCode: http.StatusServiceUnavailable,
|
StatusCode: http.StatusServiceUnavailable,
|
||||||
}
|
}
|
||||||
return false, err
|
return false, err
|
||||||
|
|
Loading…
Reference in a new issue