mirror of
https://github.com/docker/compose.git
synced 2025-07-23 13:45:00 +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 {
|
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…
x
Reference in New Issue
Block a user