summaryrefslogtreecommitdiff
path: root/tcwg-cleanup-stale-containers.sh
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-05-07 21:19:08 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-05-07 21:19:08 +0000
commit46491cbff365d3e6a05119469be877f1d8b3d417 (patch)
treebf6365505fc18340dc55c0b123b74ca77c2c6e4c /tcwg-cleanup-stale-containers.sh
parentc9d48c9914b512508581ab73a8a2ecc79bfb5031 (diff)
tcwg-cleanup-stale-containers.sh: Fix another typo...
Change-Id: I6626b870109f56619930017e6b4e8f40d65e52f2
Diffstat (limited to 'tcwg-cleanup-stale-containers.sh')
-rwxr-xr-xtcwg-cleanup-stale-containers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcwg-cleanup-stale-containers.sh b/tcwg-cleanup-stale-containers.sh
index 940b1aa0..7849811c 100755
--- a/tcwg-cleanup-stale-containers.sh
+++ b/tcwg-cleanup-stale-containers.sh
@@ -77,7 +77,7 @@ do_cleanup_containers ()
# Do we want to remove all containers, or only those
# started by Jenkins jobs?
if ${only_jenkins_containers}; then
- container_name=$($DOCKER inspect --format "{{.Name}}")
+ container_name=$($DOCKER inspect --format "{{.Name}}" $container)
# Containers started by our Jenkins jobs start with a
# number
case ${container_name} in