Skip to content

Commit

Permalink
imagetools inspect: missing annotations key
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <[email protected]>
  • Loading branch information
crazy-max committed Dec 13, 2022
1 parent 0e293a4 commit 635bbca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/imagetools/printers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 635bbca

Please sign in to comment.