Skip to content

Commit

Permalink
fix documentation lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danny-s-webb committed Oct 4, 2024
1 parent 88b46d0 commit 539d502
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/modules/grafana_silence.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
description:
- Which alertmanager datasource to target
type: str
required false
required: false
default: grafana
state:
description:
Expand Down Expand Up @@ -251,8 +251,8 @@ def __init__(self, module):
)

if module.params.get("alertmanager_datasource", None):
self.alertmanager_path = (
self.datasource_by_name(module.params["alertmanager_datasource"])
self.alertmanager_path = self.datasource_by_name(

Check warning on line 254 in plugins/modules/grafana_silence.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/grafana_silence.py#L254

Added line #L254 was not covered by tests
module.params["alertmanager_datasource"]
)

def _send_request(self, url, data=None, headers=None, method="GET"):
Expand Down

0 comments on commit 539d502

Please sign in to comment.