diff --git a/plugins/modules/grafana_contact_point.py b/plugins/modules/grafana_contact_point.py index 3a85207e..a8e86dbf 100644 --- a/plugins/modules/grafana_contact_point.py +++ b/plugins/modules/grafana_contact_point.py @@ -1052,7 +1052,11 @@ def grafana_update_contact_point(self, data, payload): del contact_point["provenance"] if self.contact_point == contact_point: - return {"changed": False, "contact_point": contact_point, "state": data["state"]} + return { + "changed": False, + "contact_point": contact_point, + "state": data["state"], + } else: return { "changed": True, @@ -1074,7 +1078,11 @@ def grafana_delete_contact_point(self, data): ) if info["status"] == 202: - return {"changed": True, "contact_point": self.contact_point, "state": data["state"]} + return { + "changed": True, + "contact_point": self.contact_point, + "state": data["state"], + } elif info["status"] == 404: return {"changed": False, "state": data["state"]} else: