Skip to content

Commit 1c84d99

Browse files
authored
fix: incomplete function chain and renamed function in list-compatible-bundles hack script (operator-framework#1546)
Co-authored-by: Artur Zych <[email protected]>
1 parent 6755e94 commit 1c84d99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hack/tools/catalogs/list-compatible-bundles

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function extract-olm-package-property() {
7777

7878
# Group packages by name and collect versions into an array
7979
function group-versions-by-package-name() {
80-
jq -s 'group_by(.packageName) | map({packageName: .[0].packageName, versions: map(.version)})' | regex_it
80+
jq -s 'group_by(.packageName) | map({packageName: .[0].packageName, versions: map(.version)})'
8181
}
8282

8383
# Apply regex on name
@@ -90,7 +90,7 @@ function filter-by-regex-if-necessary() {
9090
end'
9191
}
9292

93-
cat - | select-bundle-documents | that-support-allnamespace-install-mode | that-dont-have-dependencies | group-versions-by-package-name | filter-by-regex-if-necessary
93+
cat - | select-bundle-documents | that-support-allnamespace-install-mode | that-dont-have-dependencies | extract-olm-package-property | group-versions-by-package-name | filter-by-regex-if-necessary
9494

9595
echo "NOTE: OLM v1 currently only supports bundles that support AllNamespaces install model, don't have dependencies, and don't contain webhooks" >&2
96-
echo "WARNING: These results may include bundles with webhooks, which are incompatible" >&2
96+
echo "WARNING: These results may include bundles with webhooks, which are incompatible" >&2

0 commit comments

Comments
 (0)