Merge pull request #1734 from vieux/update_images_ls_platforms
Add S to PLATFORM in images list & plugins list
This commit is contained in:
commit
e5912e1c89
@ -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 {
|
||||
|
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user