Skip to content

Commit

Permalink
Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Aug 15, 2024
1 parent b17b0f0 commit 4b0f412
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plugins/module_utils/linode_common_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,14 +274,14 @@ def run(self) -> None:
"""
Initializes and runs the info module.
"""
attribute_names = [v.name for v in self.attributes]

base_module_args = {
"module_arg_spec": self.module_arg_spec,
"required_one_of": [attribute_names],
"mutually_exclusive": [attribute_names],
"required_one_of": [],
"mutually_exclusive": [],
}

attribute_names = [v.name for v in self.attributes]

if len(attribute_names) > 0:
base_module_args["required_one_of"].append(attribute_names)
base_module_args["mutually_exclusive"].append(attribute_names)
Expand Down

0 comments on commit 4b0f412

Please sign in to comment.