mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +02:00
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…
x
Reference in New Issue
Block a user