فهرست منبع

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)