File tree Expand file tree Collapse file tree
cmd/ctr/commands/containers Expand file tree Collapse file tree Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments