Alerting: Remove dead functionality from alert instance store (#55774)

* Update tests to use ListAlertInstances

* Drop the actual methods rather than just updating tests
This commit is contained in:
Alexander Weaver
2022-09-26 14:38:53 -05:00
committed by GitHub
parent a00879ae21
commit f11495a4c3
3 changed files with 13 additions and 57 deletions
-10
View File
@@ -56,16 +56,6 @@ type SaveAlertInstanceCommand struct {
CurrentStateEnd time.Time
}
// GetAlertInstanceQuery is the query for retrieving/deleting an alert definition by ID.
// nolint:unused
type GetAlertInstanceQuery struct {
RuleOrgID int64
RuleUID string
Labels InstanceLabels
Result *AlertInstance
}
// ListAlertInstancesQuery is the query list alert Instances.
type ListAlertInstancesQuery struct {
RuleOrgID int64 `json:"-"`