From 7d7df1a7e957e67fb724f108c20d0e84f9efb669 Mon Sep 17 00:00:00 2001 From: Marin Atanasov Nikolov Date: Fri, 13 Sep 2013 13:35:36 +0300 Subject: [PATCH] Convert 'retries' and 'timeout' to integers --- src/vmpoller-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmpoller-client b/src/vmpoller-client index ee7457b..bab863b 100755 --- a/src/vmpoller-client +++ b/src/vmpoller-client @@ -69,7 +69,7 @@ Options: format='%(asctime)s - %(levelname)s - vmpoller-client[%(process)s]: %(message)s', level=logging.DEBUG) - client = VMPollerClient(endpoint=args["--endpoint"], retries=args["--retries"], timeout=args["--timeout"]) + client = VMPollerClient(endpoint=args["--endpoint"], retries=int(args["--retries"]), timeout=int(args["--timeout"])) msg = { "type": "hosts" if args["--hosts"] else "datastores", "vcenter": args["--vcenter"],