Skip to content

Commit

Permalink
fix(grafana_contact_point): get org by name func args
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemental committed Jun 19, 2024
1 parent 793df2c commit 8f1eefa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/modules/grafana_contact_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,9 @@ def __init__(self, module):
module.params["url_username"], module.params["url_password"]
)
self.org_id = (
self.grafana_organization_by_name(module.params["org_name"])
self.grafana_organization_by_name(
module.params, module.params["org_name"]
)
if module.params["org_name"]
else module.params["org_id"]
)
Expand Down

0 comments on commit 8f1eefa

Please sign in to comment.