diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-02-03 15:30:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 15:30:39 -0500 |
commit | 4e1bcf30f3a519490f58d66bc0aef16676f61ae8 (patch) | |
tree | 1c385d7d3165aac114aa1d812ecd06cadba89bf6 /pkg/api/handlers/compat | |
parent | 4a1614e73feee048941296716dd85ceb6d15417d (diff) | |
parent | 7e4d696d949f4132c17a9c66c9f24e65b184be4c (diff) | |
download | podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.tar.gz podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.tar.bz2 podman-4e1bcf30f3a519490f58d66bc0aef16676f61ae8.zip |
Merge pull request #9188 from jwhonce/issues/8865
Report StatusConflict on Pod opt partial failures
Diffstat (limited to 'pkg/api/handlers/compat')
-rw-r--r-- | pkg/api/handlers/compat/resize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/handlers/compat/resize.go b/pkg/api/handlers/compat/resize.go index cc8c6ef0a..a769ae1b5 100644 --- a/pkg/api/handlers/compat/resize.go +++ b/pkg/api/handlers/compat/resize.go @@ -84,5 +84,5 @@ func ResizeTTY(w http.ResponseWriter, r *http.Request) { // reasons. status = http.StatusCreated } - utils.WriteResponse(w, status, "") + w.WriteHeader(status) } |