Add S to PLATFORM in images & plugins list

Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
Victor Vieux 2017-11-08 10:40:00 -08:00
parent 4701e122fe
commit f8a536ed6a
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ var listCommand = cli.Command{
return nil
}
tw := tabwriter.NewWriter(os.Stdout, 1, 8, 1, ' ', 0)
fmt.Fprintln(tw, "REF\tTYPE\tDIGEST\tSIZE\tPLATFORM\tLABELS\t")
fmt.Fprintln(tw, "REF\tTYPE\tDIGEST\tSIZE\tPLATFORMS\tLABELS\t")
for _, image := range imageList {
size, err := image.Size(ctx, cs, platforms.Default())
if err != nil {

View File

@ -93,7 +93,7 @@ var Command = cli.Command{
return w.Flush()
}
fmt.Fprintln(w, "TYPE\tID\tPLATFORM\tSTATUS\t")
fmt.Fprintln(w, "TYPE\tID\tPLATFORMS\tSTATUS\t")
for _, plugin := range response.Plugins {
status := "ok"