File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -155,12 +155,12 @@ function collect_omc_inspect {
155155 local all_crds=()
156156 mapfile -t all_crds < <( get_matching_crds)
157157 if [[ ${# all_crds[@]} -gt 0 ]]; then
158- oc adm inspect crd " ${all_crds[@]} " --dest-dir=" ${BASE_COLLECTION_PATH} " &
158+ run_bg oc adm inspect crd " ${all_crds[@]} " --dest-dir=" ${BASE_COLLECTION_PATH} "
159159 fi
160160 # Collect namespaced resources
161161 for ns in " ${DEFAULT_NAMESPACES[@]} " ; do
162162 if check_namespace " $ns " ; then
163- run_bg oc adm inspect -n " $ns " ns/" $ns " --dest-dir=" ${BASE_COLLECTION_PATH} " &
163+ run_bg oc adm inspect -n " $ns " ns/" $ns " --dest-dir=" ${BASE_COLLECTION_PATH} "
164164 # Collect subscriptions, CSVs, installplans
165165 if oc -n " $ns " get subscriptions & > /dev/null; then
166166 run_bg oc adm inspect subscriptions -n " $ns " --dest-dir=" ${BASE_COLLECTION_PATH} "
You can’t perform that action at this time.
0 commit comments