Skip to content

Commit

Permalink
Ensure that the mandatory fields required by the EDA API are respecte…
Browse files Browse the repository at this point in the history
…d within the modules. (#319)

* Ensure the mandatory fields required by the EDA API are respcted within the modules

Signed-off-by: Alina Buzachis <[email protected]>

* Undo raw string chhanges

Signed-off-by: Alina Buzachis <[email protected]>

---------

Signed-off-by: Alina Buzachis <[email protected]>
  • Loading branch information
alinabuzachis authored Oct 14, 2024
1 parent 591e212 commit 586ea78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/modules/rulebook_activation.py
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ def main() -> None:
(
"state",
"present",
("name", "rulebook_name", "decision_environment_name"),
("name", "rulebook_name", "decision_environment_name", "project_name"),
)
]

Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/rulebook_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
__metaclass__ = type


DOCUMENTATION = """
DOCUMENTATION = r"""
---
module: rulebook_info
author:
Expand Down Expand Up @@ -38,7 +38,7 @@
"""


EXAMPLES = """
EXAMPLES = r"""
- name: Get information about a rulebook
ansible.eda.rulebook_info:
name: "Example Rulebook Activation"
Expand All @@ -49,7 +49,7 @@
"""


RETURN = """
RETURN = r"""
rulebooks:
description: Information about rulebooks.
returned: always
Expand Down

0 comments on commit 586ea78

Please sign in to comment.