diff --git a/salt/modules/dockerio.py b/salt/modules/dockerio.py index 662099cd7c..2733186ed9 100644 --- a/salt/modules/dockerio.py +++ b/salt/modules/dockerio.py @@ -1145,7 +1145,7 @@ def login(url=None, username=None, password=None, email=None): salt '*' docker.login ''' client = _get_client() - return client.login(url, username, password, email) + return client.login(username, password, email, url) def search(term):