print network name when rm successfully

Signed-off-by: allencloud <allen.sun@daocloud.io>
Upstream-commit: 27ebd79222759762bec8a582f143408c7a32a969
Component: engine
This commit is contained in:
allencloud
2016-05-29 23:42:45 +08:00
parent dca7370dee
commit bb11d0c2a4
+1
View File
@@ -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}