Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Alertmanager to f69a508 #7332

Merged
merged 10 commits into from
Feb 8, 2024
Prev Previous commit
Next Next commit
Fix missing nil check
  • Loading branch information
grobinson-grafana committed Feb 8, 2024
commit a4182d7802054afd864f42e16c0cd93357b947cf
6 changes: 4 additions & 2 deletions pkg/alertmanager/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,8 +589,10 @@ func validateMSTeamsConfig(cfg config.MSTeamsConfig) error {
if cfg.WebhookURLFile != "" {
return errWebhookURLFileNotAllowed
}
if err := validateReceiverHTTPConfig(*cfg.HTTPConfig); err != nil {
return err
if cfg.HTTPConfig != nil {
if err := validateReceiverHTTPConfig(*cfg.HTTPConfig); err != nil {
return err
}
}
return nil
}
Expand Down
Loading