imagetools inspect: missing annotations key

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/1444/head
CrazyMax 2 years ago
parent 287aaf1696
commit 2fb9db994b
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

@ -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