Use String() instead of Name()

This commit is contained in:
gotjosh 2022-07-04 17:06:06 +01:00
parent 964bcb92b6
commit 7a0b5d8a70
No known key found for this signature in database
GPG Key ID: A6E1DDE38FF3C74E
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ func (api *API) getReceiversHandler(params receiver_ops.GetReceiversParams) midd
for _, integration := range r.Integrations() {
notify, duration, err := integration.GetReport()
iname := integration.Name()
iname := integration.String()
integrations = append(integrations, &open_api_models.Integration{
Name: &iname,
SendResolve: integration.SendResolved(),