Merge pull request #1734 from vieux/update_images_ls_platforms

Add S to PLATFORM in images list & plugins list
This commit is contained in:
Michael Crosby 2017-11-08 13:53:16 -05:00 committed by GitHub
commit e5912e1c89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"