Skip to content

Commit

Permalink
[pfense] Fix message for multiple elements
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Jan 6, 2024
1 parent 7ea3d86 commit 5ffa049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/pfsense.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def find_elt_xpath(self, search_xpath, root_elt=None, multiple_ok=False):
if multiple_ok:
return result
else:
self.module.fail_json(msg='Found multiple groups for name {0}.'.format(self.obj['name']))
self.module.fail_json(msg='Found multiple elements for name {0}.'.format(self.obj['name']))
return None

@staticmethod
Expand Down

0 comments on commit 5ffa049

Please sign in to comment.