Fix docker_container_exec's detach=true. (#1145)

This commit is contained in:
Felix Fontein
2025-10-07 18:49:20 +02:00
committed by GitHub
parent 54c2e49fdf
commit 449b37e1c9
3 changed files with 26 additions and 1 deletions
+5
View File
@@ -617,6 +617,11 @@ class APIClient(_Session, DaemonApiMixin):
def post_json_to_text(self, pathfmt, *args, **kwargs):
data = kwargs.pop("data", None)
return self._result(
self._post_json(
self._url(pathfmt, *args, versioned_api=True), data, **kwargs
),
)
def post_json_to_stream_socket(self, pathfmt, *args, **kwargs):
data = kwargs.pop("data", None)