diff options
author | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-09-29 11:01:33 +0900 |
---|---|---|
committer | Toshiki Sonoda <sonoda.toshiki@fujitsu.com> | 2022-09-29 18:14:41 +0900 |
commit | 32f54a81ed797597827123b671b6e73194354327 (patch) | |
tree | 2aefb9f7a39a2b385389b78e56acfaaa2e8e2edd /pkg/domain/entities | |
parent | b7eee0b2ce1eb19804ebed6184d0ad2a4bd91fb9 (diff) | |
download | podman-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.go | 2 |
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 |