Fix: bashate E002 warnings about tabs indents 74/67574/12
authorGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 4 May 2021 08:31:14 +0000 (10:31 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Tue, 11 May 2021 19:24:55 +0000 (21:24 +0200)
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

shell/update-cloud-images.sh

index 6fe4186..2503a1e 100644 (file)
@@ -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//')     \