mirror of https://github.com/docker/compose.git
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 {
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue