Skip to content

Commit abc152d

Browse files
committed
fix name in containers file
Signed-off-by: Fahed Dorgaa <[email protected]>
1 parent 70b00a0 commit abc152d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

cmd/ctr/commands/containers/containers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var createCommand = cli.Command{
7575
}
7676
}
7777
if id == "" {
78-
return errdefs.ErrEmptyContainerId
78+
return errdefs.ErrEmptyContainerID
7979
}
8080
client, ctx, cancel, err := commands.NewClient(context)
8181
if err != nil {
@@ -214,7 +214,7 @@ var setLabelsCommand = cli.Command{
214214
Action: func(context *cli.Context) error {
215215
containerID, labels := commands.ObjectWithLabelArgs(context)
216216
if containerID == "" {
217-
return errdefs.ErrEmptyContainerId
217+
return errdefs.ErrEmptyContainerID
218218
}
219219
client, ctx, cancel, err := commands.NewClient(context)
220220
if err != nil {
@@ -250,7 +250,7 @@ var infoCommand = cli.Command{
250250
Action: func(context *cli.Context) error {
251251
id := context.Args().First()
252252
if id == "" {
253-
return errdefs.ErrEmptyContainerId
253+
return errdefs.ErrEmptyContainerID
254254
}
255255
client, ctx, cancel, err := commands.NewClient(context)
256256
if err != nil {

0 commit comments

Comments
 (0)