Skip to content

Commit

Permalink
Ignore locks is 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 2965519 commit 18730bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions poller/vm-discoverer.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,10 @@ def main():
pollInfo = 'hosts'

config = vmconnector.load_config(myConfig)
discoverer = VMDiscoverer(config)
discoverer = VMDiscoverer(config, ignore_locks=True)

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

if pollInfo == 'datastores':
discoverer.discover_datastores()
Expand Down

0 comments on commit 18730bf

Please sign in to comment.