Skip to content

Commit

Permalink
fixed autoload of vCenter after task waiter refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
alexazarh committed May 23, 2016
1 parent 883da20 commit b8ca06d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
from cloudshell.cp.vcenter.common.model_factory import ResourceModelParser
from cloudshell.cp.vcenter.common.vcenter.vmomi_service import pyVmomiService

from cloudshell.cp.vcenter.common.vcenter.task_waiter import SynchronousTaskWaiter

DOMAIN = 'Global'
ADDRESS = 'address'
USER = 'User'
Expand All @@ -31,7 +33,7 @@
class VCenterAutoModelDiscovery(object):
def __init__(self):
self.parser = ResourceModelParser()
self.pv_service = pyVmomiService(SmartConnect, Disconnect)
self.pv_service = pyVmomiService(SmartConnect, Disconnect, SynchronousTaskWaiter())
self.cs_helper = CloudshellDriverHelper()
self.context_based_logger_factory = ContextBasedLoggerFactory()

Expand Down

0 comments on commit b8ca06d

Please sign in to comment.