Explorar el Código

Add id to the error output

Signed-off-by: Ulysses Souza <[email protected]>
Ulysses Souza hace 5 años
padre
commit
507caabf49
Se han modificado 1 ficheros con 1 adiciones y 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)