summaryrefslogtreecommitdiff
path: root/pkg/api/handlers/libpod/secrets.go
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-06-20 14:03:05 +0200
committerPaul Holzinger <pholzing@redhat.com>2022-06-20 14:07:56 +0200
commitbb5bd09eade239dda07332a887d0fafb6e29ee87 (patch)
tree0222bfb3e5738c36641aaeea1269ee43b3296bfc /pkg/api/handlers/libpod/secrets.go
parent55052c6b9807b5a51b50abc90e391e872be450c2 (diff)
downloadpodman-bb5bd09eade239dda07332a887d0fafb6e29ee87.tar.gz
podman-bb5bd09eade239dda07332a887d0fafb6e29ee87.tar.bz2
podman-bb5bd09eade239dda07332a887d0fafb6e29ee87.zip
API: containers/json always set application/json content type
When we return no containers we just return `[]` but we still have to keep the content type header `application/json` so external tools can correctly parse the output. Fixes #14647 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to 'pkg/api/handlers/libpod/secrets.go')
0 files changed, 0 insertions, 0 deletions