Skip to content

Commit

Permalink
chore: auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 31, 2025
1 parent 362ca31 commit d370d4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions plugins/modules/rulebook_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,12 +538,13 @@ def main() -> None:
activation,
activation_params,
endpoint="activations",
item_type="activation"
item_type="activation",
)
module.exit_json(**result)
except EDAError as e:
module.fail_json(msg=f"Failed to update rulebook activation: {e}, current activation: {activation}")

module.fail_json(
msg=f"Failed to update rulebook activation: {e}, current activation: {activation}"
)

try:
result = controller.create_if_needed(
Expand Down

0 comments on commit d370d4e

Please sign in to comment.