Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ statusCode
Method
statusCode
tools/querytee/proxy_endpoint.go:211–217 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
209
}
210
211
func
(r *backendResponse) statusCode() int {
212
if
r.err != nil || r.status <= 0 {
213
return
500
214
}
215
216
return
r.status
217
}
Callers
2
Test_backendResponse_statusCode
Function · 0.95
executeBackendRequests
Method · 0.95
Calls
no outgoing calls
Tested by
1
Test_backendResponse_statusCode
Function · 0.76