Merge pull request #935 from jcvenegas/fix-934

lib: yq: explode anchors to get real value of image values
This commit is contained in:
Archana Shinde
2020-02-13 21:40:49 -08:00
committed by GitHub

View File

@@ -57,7 +57,7 @@ get_from_kata_deps() {
echo "Download from ${yaml_url}" >&2 echo "Download from ${yaml_url}" >&2
curl --silent -o "${versions_file}" "$yaml_url" curl --silent -o "${versions_file}" "$yaml_url"
fi fi
result=$("${GOPATH}/bin/yq" read "$versions_file" "$dependency") result=$("${GOPATH}/bin/yq" read -X "$versions_file" "$dependency")
[ "$result" = "null" ] && result="" [ "$result" = "null" ] && result=""
echo "$result" echo "$result"
} }