Skip to content

Commit

Permalink
VMware: Fix typo in fail_json in vmware_guest_powerstate (#65162)
Browse files Browse the repository at this point in the history
Fixed typo from "chanaged" to "changed"

Fixes: #65161

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
  • Loading branch information
Akasurde committed Nov 22, 2019
1 parent dc59880 commit d7039b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions changelogs/fragments/typo_fix_vmware_guest_powerstate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Fixed typo in vmware_guest_powerstate module (https://github.com/ansible/ansible/issues/65161).
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def main():
vm.name,
to_native(e.msg)))
except vim.fault.DuplicateName as e:
module.exit_json(chanaged=False, details=to_native(e.msg))
module.exit_json(changed=False, details=to_native(e.msg))
except vmodl.fault.InvalidArgument as e:
module.fail_json(msg="Failed to create scheduled task %s as specifications "
"given are invalid: %s" % (module.params.get('state'),
Expand Down

0 comments on commit d7039b6

Please sign in to comment.