summaryrefslogtreecommitdiff
path: root/pkg/api
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2020-05-20 09:30:20 -0500
committerBrent Baude <bbaude@redhat.com>2020-05-20 09:30:20 -0500
commit8675a09e2e243b9ea0d54a7501147e26eb1d672d (patch)
tree3a1ab508e2bf7d9ee0b4b4df32c30db63850dedc /pkg/api
parenta6700147a820da5662ebe114a89c644df4fe1845 (diff)
downloadpodman-8675a09e2e243b9ea0d54a7501147e26eb1d672d.tar.gz
podman-8675a09e2e243b9ea0d54a7501147e26eb1d672d.tar.bz2
podman-8675a09e2e243b9ea0d54a7501147e26eb1d672d.zip
[CI:DOCS] Image tree endpoint should return 404
when trying to get an image tree for a missing image, it should return a 404. doc fix only. Fixes: #6289 Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'pkg/api')
-rw-r--r--pkg/api/server/register_images.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/api/server/register_images.go b/pkg/api/server/register_images.go
index 36f939779..01854b9c4 100644
--- a/pkg/api/server/register_images.go
+++ b/pkg/api/server/register_images.go
@@ -698,7 +698,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// responses:
// 200:
// $ref: '#/responses/LibpodImageTreeResponse'
- // 401:
+ // 404:
// $ref: '#/responses/NoSuchImage'
// 500:
// $ref: '#/responses/InternalError'