summaryrefslogtreecommitdiff
path: root/lib/ansible
diff options
context:
space:
mode:
authorArtem Leshchev <matshch@gmail.com>2018-08-20 07:49:16 +0300
committerGanesh Nalawade <ganesh634@gmail.com>2018-08-20 10:19:16 +0530
commit8323f3e3b7964fc78b7358a71462340e5f17ff50 (patch)
treeabb8fdcc5144d6a14d7a3f03804f354671483f1b /lib/ansible
parente6f0f8073df923ca879e62a9e38a9599638f512c (diff)
downloadansible-8323f3e3b7964fc78b7358a71462340e5f17ff50.tar.gz
Fix module name in error text at parse_xml filter (#44313)
* Fix module name in error text at parse_xml filter * Fix test that includes erroneous module name in error text at parse_xml filter
Diffstat (limited to 'lib/ansible')
-rw-r--r--lib/ansible/plugins/filter/network.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/plugins/filter/network.py b/lib/ansible/plugins/filter/network.py
index 585f2d2d2c..ef373ebb7d 100644
--- a/lib/ansible/plugins/filter/network.py
+++ b/lib/ansible/plugins/filter/network.py
@@ -324,7 +324,7 @@ def _extract_param(template, root, attrs, value):
def parse_xml(output, tmpl):
if not os.path.exists(tmpl):
- raise AnsibleError('unable to locate parse_cli template: %s' % tmpl)
+ raise AnsibleError('unable to locate parse_xml template: %s' % tmpl)
if not isinstance(output, string_types):
raise AnsibleError('parse_xml works on string input, but given input of : %s' % type(output))