diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2016-12-22 08:29:14 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-22 08:29:14 +0000 |
commit | 593729b3553bee68a97ece50300579037b30bb64 (patch) | |
tree | be4d73cf483456dfa4b8567ffcce90a23791f1bf /jjb/functest | |
parent | d5b7d895d1d42f515c4e36fa41ec951bfd1cbc09 (diff) | |
parent | 0a67d3606166bcb3ccb04dae3bddf24d3ce8efd2 (diff) |
Merge "Bugfix: fix the wrong extraction of image_id"
Diffstat (limited to 'jjb/functest')
-rwxr-xr-x | jjb/functest/functest-cleanup.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/functest/functest-cleanup.sh b/jjb/functest/functest-cleanup.sh index f8140e058..b03d4778d 100755 --- a/jjb/functest/functest-cleanup.sh +++ b/jjb/functest/functest-cleanup.sh @@ -5,7 +5,7 @@ echo "Cleaning up docker containers/images..." FUNCTEST_IMAGE=opnfv/functest # Remove containers along with image opnfv/functest:<none> -dangling_images=($(docker images -f "dangling=true" | grep $FUNCTEST_IMAGE | awk '{print $1}')) +dangling_images=($(docker images -f "dangling=true" | grep $FUNCTEST_IMAGE | awk '{print $3}')) if [[ -n ${dangling_images} ]]; then echo " Removing $FUNCTEST_IMAGE:<none> images and their containers..." for image_id in "${dangling_images[@]}"; do |