From f8a536ed6a07303ec40319f20bdf92155e0f513e Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 8 Nov 2017 10:40:00 -0800 Subject: [PATCH] Add S to PLATFORM in images & plugins list Signed-off-by: Victor Vieux --- cmd/ctr/commands/images/images.go | 2 +- cmd/ctr/commands/plugins/plugins.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/ctr/commands/images/images.go b/cmd/ctr/commands/images/images.go index 7103f74a9..b23ce03b5 100644 --- a/cmd/ctr/commands/images/images.go +++ b/cmd/ctr/commands/images/images.go @@ -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 { diff --git a/cmd/ctr/commands/plugins/plugins.go b/cmd/ctr/commands/plugins/plugins.go index 0fa6eeae6..0c8d2228d 100644 --- a/cmd/ctr/commands/plugins/plugins.go +++ b/cmd/ctr/commands/plugins/plugins.go @@ -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"