mirror of
https://github.com/ansible-collections/community.docker.git
synced 2025-12-16 11:58:43 +00:00
(cherry picked from commit ba5e6f89f3)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
fbecb247c8
commit
d6121fce86
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- "docker_compose - fix Python 3 type error when extracting warnings or errors from docker-compose's output (https://github.com/ansible-collections/community.docker/pull/305)."
|
||||
@ -586,8 +586,8 @@ def attempt_extract_errors(exc_str, stdout, stderr):
|
||||
msg = 'unknown cause'
|
||||
|
||||
return {
|
||||
'warnings': [w.encode('utf-8') for w in warnings],
|
||||
'errors': [e.encode('utf-8') for e in errors],
|
||||
'warnings': [to_native(w) for w in warnings],
|
||||
'errors': [to_native(e) for e in errors],
|
||||
'msg': msg,
|
||||
'module_stderr': ''.join(stderr),
|
||||
'module_stdout': ''.join(stdout)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user