From e59c96a283c819cc0a958d93955e91437beb7023 Mon Sep 17 00:00:00 2001 From: Danny Webb Date: Wed, 9 Oct 2024 08:44:57 +0100 Subject: [PATCH] black formatting --- plugins/modules/grafana_silence.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/grafana_silence.py b/plugins/modules/grafana_silence.py index 4d5b0baf..d1142738 100644 --- a/plugins/modules/grafana_silence.py +++ b/plugins/modules/grafana_silence.py @@ -249,10 +249,10 @@ def __init__(self, module): failed=True, msg="Silences API is available starting with Grafana v8", ) - + if module.params.get("alertmanager_datasource", None): self.alertmanager_path = self.datasource_by_name( - module.params["alertmanager_datasource"] + module.params["alertmanager_datasource"] ) def _send_request(self, url, data=None, headers=None, method="GET"):