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
Check for embedded HTTPConfig is not needed
  • Loading branch information
grobinson-grafana committed Feb 8, 2024
commit d3ea8ed87e7a724ca0f3ac1fa8b4713cffeaabee
10 changes: 0 additions & 10 deletions pkg/alertmanager/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -513,11 +513,6 @@ func validateDiscordConfig(cfg config.DiscordConfig) error {
if cfg.WebhookURLFile != "" {
return errWebhookURLFileNotAllowed
}
if cfg.HTTPConfig != nil {
if err := validateReceiverHTTPConfig(*cfg.HTTPConfig); err != nil {
return err
}
}
return nil
}

Expand Down Expand Up @@ -589,11 +584,6 @@ func validateMSTeamsConfig(cfg config.MSTeamsConfig) error {
if cfg.WebhookURLFile != "" {
return errWebhookURLFileNotAllowed
}
if cfg.HTTPConfig != nil {
if err := validateReceiverHTTPConfig(*cfg.HTTPConfig); err != nil {
return err
}
}
return nil
}

Expand Down
Loading