Skip to content

Commit

Permalink
Update activation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
alinabuzachis committed Aug 16, 2024
1 parent 458f588 commit be85a28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def create_params(module, controller):
# Get the rulebook id
rulebook = None
params = {}

Check warning on line 177 in plugins/modules/activation.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/activation.py#L176-L177

Added lines #L176 - L177 were not covered by tests
if project_id:
if project_id is not None:
params = {"data": {"project_id": project_id}}

Check warning on line 179 in plugins/modules/activation.py

View check run for this annotation

Codecov / codecov/patch

plugins/modules/activation.py#L179

Added line #L179 was not covered by tests
if module.params.get("rulebook_name"):
try:
Expand Down

0 comments on commit be85a28

Please sign in to comment.