Skip to content

Commit e5912e1

Browse files
Merge pull request containerd#1734 from vieux/update_images_ls_platforms
Add S to PLATFORM in images list & plugins list
2 parents 4701e12 + f8a536e commit e5912e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/ctr/commands/images/images.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var listCommand = cli.Command{
7070
return nil
7171
}
7272
tw := tabwriter.NewWriter(os.Stdout, 1, 8, 1, ' ', 0)
73-
fmt.Fprintln(tw, "REF\tTYPE\tDIGEST\tSIZE\tPLATFORM\tLABELS\t")
73+
fmt.Fprintln(tw, "REF\tTYPE\tDIGEST\tSIZE\tPLATFORMS\tLABELS\t")
7474
for _, image := range imageList {
7575
size, err := image.Size(ctx, cs, platforms.Default())
7676
if err != nil {

cmd/ctr/commands/plugins/plugins.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ var Command = cli.Command{
9393
return w.Flush()
9494
}
9595

96-
fmt.Fprintln(w, "TYPE\tID\tPLATFORM\tSTATUS\t")
96+
fmt.Fprintln(w, "TYPE\tID\tPLATFORMS\tSTATUS\t")
9797
for _, plugin := range response.Plugins {
9898
status := "ok"
9999

0 commit comments

Comments
 (0)