Alerting: Remove CleanUp method from the Alertmanager (#85650)

Alerting: Remove Cleanup method from the Alertmanager
This commit is contained in:
Santiago
2024-04-09 12:13:27 +02:00
committed by GitHub
parent 4b5b738646
commit 2e7cc68394
8 changed files with 131 additions and 102 deletions

View File

@@ -401,9 +401,6 @@ func (am *Alertmanager) Ready() bool {
return am.ready
}
// CleanUp does not have an equivalent in a "remote Alertmanager" context, we don't have files on disk, no-op.
func (am *Alertmanager) CleanUp() {}
// getFullState returns a base64-encoded protobuf message representing the Alertmanager's internal state.
func (am *Alertmanager) getFullState(ctx context.Context) (string, error) {
var parts []alertingClusterPB.Part