From 507caabf49c71fd1b2a1f789d781d9ec6b99abc9 Mon Sep 17 00:00:00 2001 From: Ulysses Souza Date: Wed, 13 May 2020 12:37:18 +0200 Subject: [PATCH] Add id to the error output Signed-off-by: Ulysses Souza --- cli/cmd/rm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmd/rm.go b/cli/cmd/rm.go index 3e015905d..0e97479d8 100644 --- a/cli/cmd/rm.go +++ b/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)