Remove faulty logic
Update logic after splitting the error into two separate messages.
This commit is contained in:
parent
1e8d20b0da
commit
c126498899
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ def main():
|
||||||
module.exit_json(failed=failed, changed=manager.has_changed(), msg=msg, image_id=image_id)
|
module.exit_json(failed=failed, changed=manager.has_changed(), msg=msg, image_id=image_id)
|
||||||
|
|
||||||
except SSLError as e:
|
except SSLError as e:
|
||||||
if get_platform() == "Darwin" and "DOCKER_HOST" in os.environ:
|
if get_platform() == "Darwin":
|
||||||
# Ensure that the environment variables has been set
|
# Ensure that the environment variables has been set
|
||||||
if "DOCKER_HOST" not in os.environ:
|
if "DOCKER_HOST" not in os.environ:
|
||||||
environment_error = '''
|
environment_error = '''
|
||||||
|
|
Loading…
Reference in a new issue