spiegel_podman/pkg/api
Nikolay Edigaryev 0e3a3efee5 Fix superfluous response.WriteHeader call in WaitContainerLibpod()
When the query decoding fails at the beginning of WaitContainerLibpod(),
the Error() sets the header but doesn't returns after that.

This causes the execution flow to reach the WriteResponse() at the end
of WaitContainerLibpod(), which attempts to set another header, thus
causing the following error:

http: superfluous response.WriteHeader call from github.com/containers/podman/pkg/api/handlers/utils.WriteResponse (handler.go:124)

[NO TESTS NEEDED]

Signed-off-by: Nikolay Edigaryev <edigaryev@gmail.com>
2021-02-18 11:00:04 -05:00
..
handlers Fix superfluous response.WriteHeader call in WaitContainerLibpod() 2021-02-18 11:00:04 -05:00
server Switch podman image push handlers to use abi 2021-02-08 13:58:49 -05:00
types podman rmi: refactor logic 2020-04-21 08:12:25 +02:00
Makefile Rewire ListContainers for APIv2 libpod 2020-02-11 08:14:28 -06:00
tags.yaml [CI:DOCS] fix swagger api docs 2020-08-23 15:10:22 +02:00