Skip to content

Commit

Permalink
Ignore locks should be set during object creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Jul 23, 2013
1 parent 18730bf commit d3cd8cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poller/vm-poller.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,10 @@ def main():
pollInfo = 'hosts'

config = vmconnector.load_config(myConfig)
poller = VMPoller(config)
poller = VMPoller(config, ignore_locks=True)

# Let's dance ...
poller.connect(ignore_locks=True)
poller.connect()

if pollInfo == 'datastores':
result = poller.get_datastore_property(name, ds_url, myProperty)
Expand Down

0 comments on commit d3cd8cc

Please sign in to comment.