Stop relying on deprecated field when parsing image pulling errors. (#1302)

This commit is contained in:
Felix Fontein
2026-08-04 21:26:51 +02:00
committed by GitHub
parent 67076499a2
commit b7b684b9c5
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -564,7 +564,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(