X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fupdate-cloud-images.sh;h=2503a1e3e21a0a549a85a91c053561557642bfeb;hb=532e97b5b965cab5ace406d8ecc845afc98920ac;hp=6fe4186c95af168572d55f4a310c433cd153f12f;hpb=762400ee2c77d0cb936ca1757bc2ac1515042436;p=releng%2Fglobal-jjb.git diff --git a/shell/update-cloud-images.sh b/shell/update-cloud-images.sh index 6fe4186c..2503a1e3 100644 --- a/shell/update-cloud-images.sh +++ b/shell/update-cloud-images.sh @@ -46,9 +46,9 @@ while read -r line ; do new_image_type="${NEW_IMAGE_NAME% -*}" # get the $new_image_type to check the image type is being compared if [[ ${new_image_type} != "${image_type}" ]]; then - echo "INFO: Image type does not match, continue ..." - continue - fi + echo "INFO: Image type does not match, continue ..." + continue + fi else new_image=$(openstack image list --long -f value -c Name -c Protected \ | grep "${image_type}.*False" | tail -n-1 | sed 's/ False//') \