浏览代码

Add id to the error output

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza 5 年之前
父节点
当前提交
507caabf49
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cli/cmd/rm.go

+ 1 - 1
cli/cmd/rm.go

@@ -32,7 +32,7 @@ func RmCommand() *cobra.Command {
 			for _, id := range args {
 				err := c.ContainerService().Delete(cmd.Context(), id, opts.force)
 				if err != nil {
-					errs = append(errs, err.Error())
+					errs = append(errs, err.Error()+" "+id)
 					continue
 				}
 				fmt.Println(id)