This commit is contained in:
2025-09-20 02:51:45 +08:00
parent f08c4e4afb
commit b460f145be

View File

@ -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: