Fix calling BaseActions in DockerActions
Change-Id: I4e8f042e8ce372f7803b01f8dc708cf72b2654f9 Closes-Bug: #1528800
This commit is contained in:
parent
af5b5952d1
commit
6f3c12d85e
|
@ -677,7 +677,7 @@ class DockerActions(object):
|
|||
return
|
||||
cont_actions = []
|
||||
for container in self.list_containers():
|
||||
cont_action = BaseActions(self.ssh_manager)
|
||||
cont_action = BaseActions()
|
||||
cont_action.container = container
|
||||
cont_actions.append(cont_action)
|
||||
try:
|
||||
|
@ -696,7 +696,7 @@ class DockerActions(object):
|
|||
ip=self.ssh_manager.admin_ip,
|
||||
cmd='dockerctl restart {0}'.format(container)
|
||||
)
|
||||
cont_action = BaseActions(self.ssh_manager)
|
||||
cont_action = BaseActions()
|
||||
cont_action.container = container
|
||||
cont_action.wait_for_ready_container()
|
||||
|
||||
|
|
Loading…
Reference in New Issue