From b460f145bea9bbbee80c806922f9b6d794a55d71 Mon Sep 17 00:00:00 2001 From: Duoduo Date: Sat, 20 Sep 2025 02:51:45 +0800 Subject: [PATCH] Common --- utils/docker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/docker.py b/utils/docker.py index 2fe1b42..24ff4e2 100644 --- a/utils/docker.py +++ b/utils/docker.py @@ -43,7 +43,7 @@ class DockerUtils: 'if you are using unix:///var/run/docker.sock, check if the socket is correctly mapped' ) credentials = get_config("whale:docker_credentials") - if credentials and credentials.count(':') == 1: + if credentials and credentials.count(':') == 3: try: DockerUtils.client.login(*credentials.split(':')) except Exception: