Skip to content

Commit f2f7587

Browse files
author
jojimt
authored
Merge pull request #582 from gaurav-dalvi/issue-573
Solving Issue#573
2 parents f3bc379 + 38462dc commit f2f7587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/python/api/tnode.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def cleanupDockerNetwork(self):
105105

106106
# Remove all containers on this node
107107
def cleanupContainers(self):
108-
self.runCmd("docker ps -a | grep alpine | awk '{print $1}' | xargs -r docker rm -fv ")
108+
self.runCmd("docker ps -a | grep -v swarm | awk '{print $1}' | xargs -r docker rm -fv ")
109109

110110
# Cleanup all state created by netplugin
111111
def cleanupSlave(self):

0 commit comments

Comments
 (0)