Skip to content

Commit

Permalink
black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-s-webb committed Oct 9, 2024
1 parent fd004e1 commit e59c96a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/grafana_silence.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit e59c96a

Please sign in to comment.