Add id to the error output
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
This commit is contained in:
parent
df48f4eb20
commit
507caabf49
|
|
@ -32,7 +32,7 @@ func RmCommand() *cobra.Command {
|
||||||
for _, id := range args {
|
for _, id := range args {
|
||||||
err := c.ContainerService().Delete(cmd.Context(), id, opts.force)
|
err := c.ContainerService().Delete(cmd.Context(), id, opts.force)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errs = append(errs, err.Error())
|
errs = append(errs, err.Error()+" "+id)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
fmt.Println(id)
|
fmt.Println(id)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue