Skip to content

Commit 8928904

Browse files
committed
Resolving issue 383
1 parent ec69645 commit 8928904

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

systemtests/node_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (n *node) startNetmaster() error {
8989

9090
func (n *node) cleanupDockerNetwork() error {
9191
logrus.Infof("Cleaning up networks on %s", n.Name())
92-
return n.tbnode.RunCommand("docker network ls | grep netplugin | awk '{print $2}'")
92+
return n.tbnode.RunCommand("docker network rm $(docker network ls | grep netplugin | awk '{print $2}')")
9393
}
9494

9595
func (n *node) cleanupContainers() error {

0 commit comments

Comments
 (0)