Skip to content

Commit

Permalink
Black added
Browse files Browse the repository at this point in the history
  • Loading branch information
Max-checkmk committed Jul 17, 2024
1 parent c6f01c2 commit 3270f23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/modules/tag_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,9 @@ def run_module():
if module.params.get("state") == "present":
if taggroup.current.http_code == 200:
# If tag group has changed then update it.
if changes_detected(module, json.loads(taggroup.current.content.decode("utf-8"))):
if changes_detected(
module, json.loads(taggroup.current.content.decode("utf-8"))
):
taggroup.headers["If-Match"] = taggroup.current.etag
result = taggroup.put()

Expand Down

0 comments on commit 3270f23

Please sign in to comment.