summaryrefslogtreecommitdiff
path: root/docker/api/container.py
diff options
context:
space:
mode:
Diffstat (limited to 'docker/api/container.py')
-rw-r--r--docker/api/container.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/api/container.py b/docker/api/container.py
index fef7603..40607e7 100644
--- a/docker/api/container.py
+++ b/docker/api/container.py
@@ -1164,8 +1164,9 @@ class ContainerApiMixin:
'one_shot is only available in conjunction with '
'stream=False'
)
- return self._stream_helper(self._get(url, params=params),
- decode=decode)
+ return self._stream_helper(
+ self._get(url, stream=True, params=params), decode=decode
+ )
else:
if decode:
raise errors.InvalidArgument(