API server: drop inherit-labels/annotations for compat builds

Drop the inheritlabels and inheritannotations flags in the description
for the compat build endpoint, because the docker engine's build
endpoint doesn't recognize them.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
This commit is contained in:
Nalin Dahyabhai
2025-07-23 14:35:31 -04:00
committed by tomsweeneyredhat
parent 7bc9691045
commit e6f812c21e

View File

@ -560,20 +560,6 @@ func (s *APIServer) registerImagesHandlers(r *mux.Router) error {
// description: |
// Suppress verbose build output
// - in: query
// name: inheritlabels
// type: boolean
// default: true
// description: |
// Inherit the labels from the base image or base stages
// (As of Podman version v5.5)
// - in: query
// name: inheritannotations
// type: boolean
// default: true
// description: |
// Inherit the annotations from the base image or base stages
// (As of Podman version v5.5)
// - in: query
// name: nocache
// type: boolean
// default: false