Explorar o código

Add id to the error output

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza %!s(int64=5) %!d(string=hai) anos
pai
achega
507caabf49
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)