1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

win_reboot: fixed up warning message for dep args (#37898)

This commit is contained in:
Jordan Borean 2018-03-27 13:03:07 +10:00 committed by GitHub
parent e707e71ec5
commit c4e7b54630
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,7 +85,7 @@ class ActionModule(ActionBase):
}
for arg, version in deprecated_args.items():
if self._task.args.get(arg) is not None:
display.warning("Since Ansible %s, %s is no longer used with win_reboot" % (arg, version))
display.warning("Since Ansible %s, %s is no longer used with win_reboot" % (version, arg))
if self._task.args.get('connect_timeout') is not None:
connect_timeout = int(self._task.args.get('connect_timeout', self.DEFAULT_CONNECT_TIMEOUT))