From 32f54a81ed797597827123b671b6e73194354327 Mon Sep 17 00:00:00 2001 From: Toshiki Sonoda Date: Thu, 29 Sep 2022 11:01:33 +0900 Subject: remote: fix manifest add --annotation * `manifest add --annotation option` adds annotations field on remote environment. * `manifest inspect` prints annotations field on remote environment. Fixes: #15952 Signed-off-by: Toshiki Sonoda --- pkg/domain/entities/manifest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/domain/entities') diff --git a/pkg/domain/entities/manifest.go b/pkg/domain/entities/manifest.go index f17079271..7f4b6c25f 100644 --- a/pkg/domain/entities/manifest.go +++ b/pkg/domain/entities/manifest.go @@ -36,7 +36,7 @@ type ManifestAddOptions struct { // ManifestAnnotateOptions provides model for annotating manifest list type ManifestAnnotateOptions struct { // Annotation to add to manifest list - Annotation []string `json:"annotation" schema:"annotation"` + Annotation []string `json:"annotations" schema:"annotations"` // Arch overrides the architecture for the image Arch string `json:"arch" schema:"arch"` // Feature list for the image -- cgit v1.2.3-54-g00ecf