Stop stops the Ruler. Each function of the ruler is terminated before leaving the ring
(_ error)
| 491 | // Stop stops the Ruler. |
| 492 | // Each function of the ruler is terminated before leaving the ring |
| 493 | func (r *Ruler) stopping(_ error) error { |
| 494 | r.manager.Stop() |
| 495 | |
| 496 | if r.subservices != nil { |
| 497 | _ = services.StopManagerAndAwaitStopped(context.Background(), r.subservices) |
| 498 | } |
| 499 | return nil |
| 500 | } |
| 501 | |
| 502 | type sender interface { |
| 503 | Send(alerts ...*notifier.Alert) |
nothing calls this directly
no test coverage detected