From 44c86245fff5edc937f84461754c0090f099f9b2 Mon Sep 17 00:00:00 2001 From: Joe Smith Date: Tue, 30 Aug 2016 15:55:41 -0400 Subject: [PATCH] Set explicit type for timeout (#2809) vmware_maintenancemode.py needs explicit type for timeout, otherwise it reads timeout as string and breaks. --- cloud/vmware/vmware_maintenancemode.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloud/vmware/vmware_maintenancemode.py b/cloud/vmware/vmware_maintenancemode.py index 0af69e38057..84d774ec765 100644 --- a/cloud/vmware/vmware_maintenancemode.py +++ b/cloud/vmware/vmware_maintenancemode.py @@ -178,7 +178,7 @@ def main(): 'evacuateAllData', 'noAction']), 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, default='present', choices=['present', 'absent'])))