imagetools inspect: missing annotations key

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1496/head
CrazyMax 2 years ago committed by Tonis Tiigi
parent 7394853ddf
commit e4db8d2a21
No known key found for this signature in database
GPG Key ID: AFA9DE5F8AB7AF39

@ -252,6 +252,7 @@ func (p *Printer) printManifestList(out io.Writer) error {
_, _ = fmt.Fprintf(w, "%sURLs:\t%s\n", defaultPfx, strings.Join(m.URLs, ", "))
}
if len(m.Annotations) > 0 {
_, _ = fmt.Fprintf(w, "%sAnnotations:\t\n", defaultPfx)
_ = w.Flush()
w2 := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)
for k, v := range m.Annotations {

Loading…
Cancel
Save