mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-23 17:58:02 +00:00
Merge pull request #935 from jcvenegas/fix-934
lib: yq: explode anchors to get real value of image values
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user