This commit is contained in:
Khushiyant 2025-06-11 13:30:09 +02:00 committed by GitHub
commit 36da6e666b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -215,6 +215,8 @@ class Container(Model):
resp['Id'], detach=detach, tty=tty, stream=stream, socket=socket,
demux=demux
)
exec_output = tuple(b'' if x is None else x for x in exec_output)
if socket or stream:
return ExecResult(None, exec_output)