podman/pkg/api/handlers/utils
Nikolay Edigaryev 2c31f38399 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-12 23:55:12 +03:00
..
containers.go Fix superfluous response.WriteHeader call in WaitContainerLibpod() 2021-02-12 23:55:12 +03:00
errors.go Implement Secrets 2021-02-09 09:13:21 -05:00
handler.go Merge pull request #9182 from mheon/bump_api 2021-02-05 04:10:29 -05:00
handler_test.go Fix Id->ID where possible for lint 2020-06-10 05:49:41 -04:00
images.go image list: speed up 2020-08-07 12:14:11 +02:00