Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/cortexproject/cortex
/ GetLastError
Method
GetLastError
pkg/ruler/ruler.pb.go:417–422 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
415
}
416
417
func
(m *RuleStateDesc) GetLastError() string {
418
if
m != nil {
419
return
m.LastError
420
}
421
return
""
422
}
423
424
func
(m *RuleStateDesc) GetAlerts() []*AlertStateDesc {
425
if
m != nil {
Callers
1
PrometheusRules
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected