refactor(alerting): Use pointer for receiver in AlertProvider.GetDefaultAlert method (#676)

This commit is contained in:
TwiN
2024-02-07 20:09:45 -05:00
committed by GitHub
parent 2a623a59d3
commit 08742e4af3
35 changed files with 53 additions and 52 deletions

View File

@ -124,6 +124,6 @@ func (provider *AlertProvider) buildIssueBody(endpoint *core.Endpoint, alert *al
}
// GetDefaultAlert returns the provider's default alert configuration
func (provider AlertProvider) GetDefaultAlert() *alert.Alert {
func (provider *AlertProvider) GetDefaultAlert() *alert.Alert {
return provider.DefaultAlert
}