mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-13 04:11:00 +00:00
Remove faulty logic
Update logic after splitting the error into two separate messages.
This commit is contained in:
committed by
Matt Clay
parent
5a20bb473b
commit
6ff693f975
@@ -407,7 +407,7 @@ def main():
|
||||
module.exit_json(failed=failed, changed=manager.has_changed(), msg=msg, image_id=image_id)
|
||||
|
||||
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
|
||||
if "DOCKER_HOST" not in os.environ:
|
||||
environment_error = '''
|
||||
|
||||
Reference in New Issue
Block a user