File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
internal/component/mimir/rules/kubernetes Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ Main (unreleased)
4545### Bugfixes
4646
4747- Fix ` otelcol.receiver.filelog ` documentation's default value for ` start_at ` . (@petewall )
48+ - Fix ` mimir.rules.kubernetes ` panic on non-leader debug info retrieval (@TheoBrigitte )
4849
4950### Other changes
5051
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ type DebugMimirNamespace struct {
2323func (c * Component ) DebugInfo () interface {} {
2424 var output DebugInfo
2525
26+ if c .eventProcessor == nil {
27+ return output
28+ }
29+
2630 currentState := c .eventProcessor .getMimirState ()
2731 for namespace := range currentState {
2832 if ! isManagedMimirNamespace (c .args .MimirNameSpacePrefix , namespace ) {
You can’t perform that action at this time.
0 commit comments