We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e711fc9 commit 8ba048cCopy full SHA for 8ba048c
hack/check-remote-image-existence.sh
@@ -7,7 +7,7 @@ script_dir=$(dirname "$0")
7
result=0
8
for template in $(realpath "${script_dir}"/../examples/*.yaml "${script_dir}"/./test-templates/*.yaml|sort -u); do
9
for location in $(yq eval '.images[].location' "${template}"); do
10
- if [[ "${location}" == http* ]]; then
+ if [[ ${location} == http* ]]; then
11
response=$(curl -L -s -I -o /dev/null -w "%{http_code}" "${location}")
12
if [[ ${response} != "200" ]]; then
13
line=$(grep -n "${location}" "${template}" | cut -d ':' -f 1)
0 commit comments