Chore: Simplify function signature for GetLatestAlertmanagerConfiguration (#79392)

This commit is contained in:
Santiago
2023-12-12 13:49:54 +01:00
committed by GitHub
parent 6989db1ad3
commit 57e0d6bcb5
17 changed files with 113 additions and 117 deletions

View File

@@ -36,7 +36,7 @@ type ExternalAlertmanagerProvider interface {
}
type AlertingStore interface {
GetLatestAlertmanagerConfiguration(ctx context.Context, query *models.GetLatestAlertmanagerConfigurationQuery) (*models.AlertConfiguration, error)
GetLatestAlertmanagerConfiguration(ctx context.Context, orgID int64) (*models.AlertConfiguration, error)
}
type RuleAccessControlService interface {