mirror of
https://github.com/containers/podman.git
synced 2025-12-16 03:57:36 +08:00
compat: Translate noprune into ImageRemoveOptions.NoPrune
PR #15093 implemented support for NoPrune in the ImageRemoveOptions, this PR simply brings that also to the compat API along with regression tests. Signed-off-by: Andreas Kohn <andreas.kohn@gmail.com> Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
committed by
Valentin Rothberg
parent
911be1cbcb
commit
b65ab52d8d
@@ -229,7 +229,7 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
|
||||
// - in: query
|
||||
// name: noprune
|
||||
// type: boolean
|
||||
// description: not supported. will be logged as an invalid parameter if enabled
|
||||
// description: do not remove dangling parent images
|
||||
// produces:
|
||||
// - application/json
|
||||
// responses:
|
||||
|
||||
Reference in New Issue
Block a user