From 33a77471a317ed6c29b231260cbea8e41b2a010a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20REY?= Date: Fri, 26 Nov 2021 18:24:41 +0100 Subject: [PATCH] style(sanity): fix error reported by sanity test with devel --- plugins/modules/grafana_notification_channel.py | 6 ++---- plugins/modules/grafana_organization.py | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/modules/grafana_notification_channel.py b/plugins/modules/grafana_notification_channel.py index e2c81144..0eb39df6 100644 --- a/plugins/modules/grafana_notification_channel.py +++ b/plugins/modules/grafana_notification_channel.py @@ -244,13 +244,11 @@ pushover_alert_sound: type: str description: - - Alert sound in Pushover. - - L(https://pushover.net/api#sounds) + - L(Alert sound in Pushover,https://pushover.net/api#sounds) pushover_ok_sound: type: str description: - - OK sound in Pushover. - - L(https://pushover.net/api#sounds) + - L(OK sound in Pushover,https://pushover.net/api#sounds) sensu_url: type: str description: diff --git a/plugins/modules/grafana_organization.py b/plugins/modules/grafana_organization.py index 2fbfa1aa..4ed16320 100644 --- a/plugins/modules/grafana_organization.py +++ b/plugins/modules/grafana_organization.py @@ -171,6 +171,7 @@ def setup_module_object(): ) argument_spec.pop('grafana_api_key') + def main(): module = setup_module_object() state = module.params['state']