summaryrefslogtreecommitdiff
path: root/pkg/api/server
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-06-05 16:45:20 +0200
committerGitHub <noreply@github.com>2021-06-05 16:45:20 +0200
commit1e006a58ccf62d9def0778af550c35f5acf504ae (patch)
tree01453444a70ae1431d021361b3d0d0ae06ff575f /pkg/api/server
parentcdf26a3d5677e0372e8892f85a8fd6065d512bcf (diff)
parent1f73374acd3c33d1884e9383205c9f891a3552db (diff)
downloadpodman-1e006a58ccf62d9def0778af550c35f5acf504ae.tar.gz
podman-1e006a58ccf62d9def0778af550c35f5acf504ae.tar.bz2
podman-1e006a58ccf62d9def0778af550c35f5acf504ae.zip
Merge pull request #10549 from Luap99/fix-9859
remote: always send resize before the container starts
Diffstat (limited to 'pkg/api/server')
-rw-r--r--pkg/api/server/register_containers.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/api/server/register_containers.go b/pkg/api/server/register_containers.go
index aa999905e..88ebb4df5 100644
--- a/pkg/api/server/register_containers.go
+++ b/pkg/api/server/register_containers.go
@@ -1364,6 +1364,8 @@ func (s *APIServer) registerContainersHandlers(r *mux.Router) error {
// $ref: "#/responses/ok"
// 404:
// $ref: "#/responses/NoSuchContainer"
+ // 409:
+ // $ref: "#/responses/ConflictError"
// 500:
// $ref: "#/responses/InternalError"
r.HandleFunc(VersionedPath("/libpod/containers/{name}/resize"), s.APIHandler(compat.ResizeTTY)).Methods(http.MethodPost)