Tabs must be avoided and replaced by 4 whitespaces according to the
standard usage.
Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com>
Change-Id: Ic21fe1646b60b6630d54fd16b8b2e1fa6d4c49fb
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//') \