mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
print network name when rm successfully
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
bd5c9f59ea
commit
27ebd79222
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ func (cli *DockerCli) CmdNetworkRm(args ...string) error {
|
|||
status = 1
|
||||
continue
|
||||
}
|
||||
fmt.Fprintf(cli.out, "%s\n", net)
|
||||
}
|
||||
if status != 0 {
|
||||
return Cli.StatusError{StatusCode: status}
|
||||
|
|
Loading…
Reference in a new issue