From abc152d14c950a64deb833b597082b68eaf5ea06 Mon Sep 17 00:00:00 2001 From: Fahed Dorgaa Date: Sun, 14 Jul 2019 21:49:07 +0200 Subject: [PATCH] fix name in containers file Signed-off-by: Fahed Dorgaa --- cmd/ctr/commands/containers/containers.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ctr/commands/containers/containers.go b/cmd/ctr/commands/containers/containers.go index 438ed8510..a2d7afcca 100644 --- a/cmd/ctr/commands/containers/containers.go +++ b/cmd/ctr/commands/containers/containers.go @@ -75,7 +75,7 @@ var createCommand = cli.Command{ } } if id == "" { - return errdefs.ErrEmptyContainerId + return errdefs.ErrEmptyContainerID } client, ctx, cancel, err := commands.NewClient(context) if err != nil { @@ -214,7 +214,7 @@ var setLabelsCommand = cli.Command{ Action: func(context *cli.Context) error { containerID, labels := commands.ObjectWithLabelArgs(context) if containerID == "" { - return errdefs.ErrEmptyContainerId + return errdefs.ErrEmptyContainerID } client, ctx, cancel, err := commands.NewClient(context) if err != nil { @@ -250,7 +250,7 @@ var infoCommand = cli.Command{ Action: func(context *cli.Context) error { id := context.Args().First() if id == "" { - return errdefs.ErrEmptyContainerId + return errdefs.ErrEmptyContainerID } client, ctx, cancel, err := commands.NewClient(context) if err != nil {