mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-09-12 19:07:24 +00:00
(cherry picked from commit b7b684b9c5)
This commit is contained in:
@@ -460,7 +460,7 @@ class AnsibleDockerClientBase(Client):
|
||||
self._raise_for_status(response)
|
||||
for line in self._stream_helper(response, decode=True):
|
||||
self.log(line, pretty_print=True)
|
||||
if line.get('error'):
|
||||
if line.get('error') or line.get('errorDetail'):
|
||||
if line.get('errorDetail'):
|
||||
error_detail = line.get('errorDetail')
|
||||
self.fail("Error pulling %s - code: %s message: %s" % (name,
|
||||
|
||||
Reference in New Issue
Block a user