Set explicit type for timeout (#2809)

vmware_maintenancemode.py needs explicit type for timeout, otherwise it reads timeout as string and breaks.
pull/18777/head
Joe Smith 8 years ago committed by Matt Clay
parent abaf6afc0a
commit 09776a9e52

@ -178,7 +178,7 @@ def main():
'evacuateAllData', 'evacuateAllData',
'noAction']), 'noAction']),
evacuate=dict(required=False, type='bool', default=False), evacuate=dict(required=False, type='bool', default=False),
timeout=dict(required=False, default=0), timeout=dict(required=False, default=0, type='int'),
state=dict(required=False, state=dict(required=False,
default='present', default='present',
choices=['present', 'absent']))) choices=['present', 'absent'])))

Loading…
Cancel
Save