Fix container wait logic in devenv

Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
This commit is contained in:
Vladimir Domnich 2022-08-08 23:26:24 +03:00 committed by Vladimir Domnich
parent c131bb04ba
commit 453dcb99fa

View file

@ -183,7 +183,7 @@ class RemoteDevEnvStorageServiceHelper:
container_name = _get_storage_container_name(node_name)
expected_state = 'running'
for __attempt in range(10):
container = self._get_container_by_name(container_name)
container = self._get_container_by_name(node_name, container_name)
if container and container["State"] == expected_state:
return
time.sleep(3)