mirror of https://github.com/docker/cli.git
wrap line in deleted containers when pruning
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3ab6e03ba3
commit
093072cc18
|
@ -57,7 +57,7 @@ func runPrune(dockerCli *command.DockerCli, opts pruneOptions) (spaceReclaimed u
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(report.ContainersDeleted) > 0 {
|
if len(report.ContainersDeleted) > 0 {
|
||||||
output = "Deleted Containers:"
|
output = "Deleted Containers:\n"
|
||||||
for _, id := range report.ContainersDeleted {
|
for _, id := range report.ContainersDeleted {
|
||||||
output += id + "\n"
|
output += id + "\n"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue