fix swagger spec for receivers API response (#57124) (#57128)

(cherry picked from commit 6ad405e256)

Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
This commit is contained in:
Grot (@grafanabot)
2022-10-18 12:50:54 -03:00
committed by GitHub
co-authored by Santiago
parent 484df7d682
commit 29baf812cf
7 changed files with 53 additions and 15 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ type Alertmanager interface {
GetAlertGroups(active, silenced, inhibited bool, filter []string, receiver string) (apimodels.AlertGroups, error)
// Receivers
GetReceivers(ctx context.Context) apimodels.Receivers
GetReceivers(ctx context.Context) []apimodels.Receiver
TestReceivers(ctx context.Context, c apimodels.TestReceiversConfigBodyParams) (*notifier.TestReceiversResult, error)
}