mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-29 08:57:44 +08:00
imagetools inspect: missing annotations key
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
7394853ddf
commit
e4db8d2a21
@ -252,6 +252,7 @@ func (p *Printer) printManifestList(out io.Writer) error {
|
|||||||
_, _ = fmt.Fprintf(w, "%sURLs:\t%s\n", defaultPfx, strings.Join(m.URLs, ", "))
|
_, _ = fmt.Fprintf(w, "%sURLs:\t%s\n", defaultPfx, strings.Join(m.URLs, ", "))
|
||||||
}
|
}
|
||||||
if len(m.Annotations) > 0 {
|
if len(m.Annotations) > 0 {
|
||||||
|
_, _ = fmt.Fprintf(w, "%sAnnotations:\t\n", defaultPfx)
|
||||||
_ = w.Flush()
|
_ = w.Flush()
|
||||||
w2 := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)
|
w2 := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', 0)
|
||||||
for k, v := range m.Annotations {
|
for k, v := range m.Annotations {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user