Add command variable in failure message (#25674)

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/25762/head
Abhijeet Kasurde 8 years ago committed by Matt Davis
parent 6d34ce3f2a
commit c426481b33

@ -514,7 +514,7 @@ def core(module):
return VIRT_SUCCESS, res
else:
module.fail_json(msg="Command %s not recognized" % basecmd)
module.fail_json(msg="Command %s not recognized" % command)
module.fail_json(msg="expected state or command parameter to be specified")

Loading…
Cancel
Save