Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed Mar 4, 2024
1 parent 761b479 commit 5f6531c
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions plugins/modules/grafana_contact_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ def main():
pagerduty_details=dict(type="list", elements="dict"),
pagerduty_group=dict(type="str"),
pagerduty_integration_key=dict(type="str", no_log=True),
pagerduty_severity=dict(type="str", choices=["critical", "error", "warning", "info"]),
pagerduty_severity=dict(
type="str", choices=["critical", "error", "warning", "info"]
),
pagerduty_source=dict(type="str"),
pagerduty_summary=dict(type="str"),
# type: pushover
Expand Down Expand Up @@ -455,11 +457,19 @@ def main():
["type", "slack", ["slack_recipient", "slack_token", "slack_url"]],
["type", "teams", ["teams_url"]],
["type", "telegram", ["telegram_chat_id", "telegram_token"]],
["type", "threema", ["threema_api_secret", "threema_gateway_id", "threema_recipient_id"]],
[
"type",
"threema",
["threema_api_secret", "threema_gateway_id", "threema_recipient_id"],
],
["type", "victorops", ["victorops_url"]],
["type", "webex", ["webex_token", "webex_room_id"]],
["type", "webhook", ["webhook_url"]],
["type", "wecom", ["wecom_url", "wecom_agent_id", "wecom_corp_id", "wecom_secret"]],
[
"type",
"wecom",
["wecom_url", "wecom_agent_id", "wecom_corp_id", "wecom_secret"],
],
],
)

Expand Down

0 comments on commit 5f6531c

Please sign in to comment.