Skip to content

Commit

Permalink
Convert 'retries' and 'timeout' to integers
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Sep 13, 2013
1 parent 2d6d423 commit 7d7df1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmpoller-client
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 7d7df1a

Please sign in to comment.