aboutsummaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-29 11:01:33 +0900
committerToshiki Sonoda <sonoda.toshiki@fujitsu.com>2022-09-29 18:14:41 +0900
commit32f54a81ed797597827123b671b6e73194354327 (patch)
tree2aefb9f7a39a2b385389b78e56acfaaa2e8e2edd /pkg/domain/entities
parentb7eee0b2ce1eb19804ebed6184d0ad2a4bd91fb9 (diff)
downloadpodman-32f54a81ed797597827123b671b6e73194354327.tar.gz
podman-32f54a81ed797597827123b671b6e73194354327.tar.bz2
podman-32f54a81ed797597827123b671b6e73194354327.zip
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 <sonoda.toshiki@fujitsu.com>
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/manifest.go2
1 files changed, 1 insertions, 1 deletions
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