Add id to the error output

Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
Ulysses Souza 2020-05-13 12:37:18 +02:00
parent df48f4eb20
commit 507caabf49
1 changed files with 1 additions and 1 deletions

View File

@ -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)