Common
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user