Alerting: correct property names for Slack bot icons (#33376)

This commit is contained in:
Chip Wolf ‮ 2021-08-18 19:06:05 +01:00 committed by GitHub
parent 552eed75e2
commit fe09879ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,14 +63,14 @@ func init() {
Element: alerting.ElementTypeInput, Element: alerting.ElementTypeInput,
InputType: alerting.InputTypeText, InputType: alerting.InputTypeText,
Description: "Provide an emoji to use as the icon for the bot's message. Overrides the icon URL.", Description: "Provide an emoji to use as the icon for the bot's message. Overrides the icon URL.",
PropertyName: "iconEmoji", PropertyName: "icon_emoji",
}, },
{ {
Label: "Icon URL", Label: "Icon URL",
Element: alerting.ElementTypeInput, Element: alerting.ElementTypeInput,
InputType: alerting.InputTypeText, InputType: alerting.InputTypeText,
Description: "Provide a URL to an image to use as the icon for the bot's message", Description: "Provide a URL to an image to use as the icon for the bot's message",
PropertyName: "iconUrl", PropertyName: "icon_url",
}, },
{ {
Label: "Mention Users", Label: "Mention Users",