Skip to content

Commit ba17210

Browse files
remove unnecessary caching
1 parent 6da4f48 commit ba17210

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

modules/extend_dynamic-plugins-reference/rhdh-supported-plugins.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,13 +112,6 @@ fi
112112
fetch_catalog_index() {
113113
local index_tag="${BRANCH#release-}"
114114
local image="${CATALOG_INDEX_REGISTRY}/plugin-catalog-index:${index_tag}"
115-
if [[ $DO_CLEAN -eq 1 ]]; then
116-
rm -rf "$catalogindextmpdir"
117-
fi
118-
if [[ -d "$catalogindextmpdir/catalog-index/extend_dynamic-plugins-reference" ]]; then
119-
debug "Reusing cached catalog index at $catalogindextmpdir"
120-
return 0
121-
fi
122115
if ! command -v skopeo >/dev/null 2>&1; then
123116
echo -e "${red}[ERROR] skopeo is required but not found.${norm}"
124117
exit 1

0 commit comments

Comments
 (0)