From: Anil Belur Date: Thu, 13 Aug 2020 00:18:40 +0000 (+1000) Subject: Fix formatting in script X-Git-Tag: v0.56.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?p=releng%2Fglobal-jjb.git;a=commitdiff_plain;h=8ac864b735534ac4c8646aa9141dac1c51147912 Fix formatting in script The revert 0c66e6ab1d80770ca7060237b436190f9fa274a0 did not take care of the formatting. Change-Id: I8efe5aed70d902a959c6653b56429dc9774276b6 Signed-off-by: Anil Belur --- diff --git a/shell/openstack-protect-in-use-images.sh b/shell/openstack-protect-in-use-images.sh index a422cd87..610a8927 100644 --- a/shell/openstack-protect-in-use-images.sh +++ b/shell/openstack-protect-in-use-images.sh @@ -24,7 +24,8 @@ set -eu -o pipefail declare -a images images+=("$(grep -r IMAGE_NAME --include \*.cfg jenkins-config \ | awk -F'=' '{print $2}' | sort -u)") -set +o pipefail # Not all projects have images in YAML files and grep returns non-zero on 0 results + +# Not all projects have images in YAML files and grep returns non-zero on 0 results # Ignore SC2179 since we do not want () to result in an empty array item. #shellcheck disable=SC2179 images+=("$(grep -r 'ZZCI - ' --include \*.yaml jjb \