Skip to content

Commit

Permalink
Add S to PLATFORM in images & plugins list
Browse files Browse the repository at this point in the history
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
  • Loading branch information
vieux committed Nov 8, 2017
1 parent 4701e12 commit f8a536e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/ctr/commands/images/images.go
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion cmd/ctr/commands/plugins/plugins.go
Expand Up @@ -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"

Expand Down

0 comments on commit f8a536e

Please sign in to comment.