Skip to content

Commit

Permalink
formatting consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
beeradb committed Sep 8, 2023
1 parent 0a25eed commit 40b3d0a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions grafana_client/elements/alertingprovisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def create_contactpoint(self, contactpoint, disable_provenance=False):
headers = {}
if disable_provenance:
headers["X-Disable-Provenance"] = "true"

Check warning on line 117 in grafana_client/elements/alertingprovisioning.py

View check run for this annotation

Codecov / codecov/patch

grafana_client/elements/alertingprovisioning.py#L115-L117

Added lines #L115 - L117 were not covered by tests

create_contactpoint_path = "/v1/provisioning/contact-points"
return self.client.POST(create_contactpoint_path, json=contactpoint, headers=headers)

Check warning on line 119 in grafana_client/elements/alertingprovisioning.py

View check run for this annotation

Codecov / codecov/patch

grafana_client/elements/alertingprovisioning.py#L119

Added line #L119 was not covered by tests

Expand Down Expand Up @@ -156,7 +155,6 @@ def set_notification_policy_tree(self, notification_policy_tree, disable_provena
headers = {}
if disable_provenance:
headers["X-Disable-Provenance"] = "true"

Check warning on line 157 in grafana_client/elements/alertingprovisioning.py

View check run for this annotation

Codecov / codecov/patch

grafana_client/elements/alertingprovisioning.py#L155-L157

Added lines #L155 - L157 were not covered by tests

set_notification_policy_tree_path = "/v1/provisioning/policies"
return self.client.PUT(set_notification_policy_tree_path, json=notification_policy_tree, headers=headers)

Check warning on line 159 in grafana_client/elements/alertingprovisioning.py

View check run for this annotation

Codecov / codecov/patch

grafana_client/elements/alertingprovisioning.py#L159

Added line #L159 was not covered by tests

Expand Down

0 comments on commit 40b3d0a

Please sign in to comment.