From: Guillaume Lambert Date: Tue, 4 May 2021 08:31:14 +0000 (+0200) Subject: Fix: bashate E002 warnings about tabs indents X-Git-Tag: v0.63.1~2 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F74%2F67574%2F12;p=releng%2Fglobal-jjb.git Fix: bashate E002 warnings about tabs indents Tabs must be avoided and replaced by 4 whitespaces according to the standard usage. Signed-off-by: Guillaume Lambert Change-Id: Ic21fe1646b60b6630d54fd16b8b2e1fa6d4c49fb --- 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//') \