Skip to content

Commit

Permalink
Merge pull request #1001 from skalenetwork/hotfix-docker-image-pull
Browse files Browse the repository at this point in the history
Fix docker_utils pull
  • Loading branch information
badrogger authored Oct 23, 2023
2 parents 66d9140 + 1f872e0 commit 5430007
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/docker_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
CONTAINER_LOGS_SEPARATOR
)
from tools.configs.logs import REMOVED_CONTAINERS_FOLDER_PATH
from tools.helper import run_cmd

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -367,8 +366,8 @@ def restart_all_schains(

def pull(self, name: str) -> None:
with DockerUtils.docker_lock:
# repo, tag = name.split(':')
run_cmd(['docker', 'pull', name])
repo, tag = name.split(':')
self.client.images.pull(repository=repo, tag=tag)

def pulled(self, name: str) -> bool:
with DockerUtils.docker_lock:
Expand Down

0 comments on commit 5430007

Please sign in to comment.