Skip to content

Commit

Permalink
Fix the bug induced at: red-hat-storage#124
Browse files Browse the repository at this point in the history
Signed-off-by: black-dragon74 <[email protected]>
  • Loading branch information
black-dragon74 authored and openshift-cherrypick-robot committed Mar 11, 2024
1 parent e329f22 commit a5be6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions collection-scripts/gather_ceph_resources
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ for resource in "${ceph_resources[@]}"; do
done

namespaces=$(oc get deploy --all-namespaces -o go-template --template='{{range .items}}{{if .metadata.labels}}{{printf "%s %v" .metadata.namespace (index .metadata.labels "olm.owner")}} {{printf "\n"}}{{end}}{{end}}' | grep ocs-operator | awk '{print $1}' | uniq)
namespaces="openshift-storage-extended"
namespaces+=" openshift-storage-extended"
# Inspecting the namespace where ocs-cluster is installed
for ns in $namespaces; do
dblog "collecting details of ns ${ns}"
dbglog "collecting details of ns ${ns}"
ceph_collection() {
COMMAND_OUTPUT_DIR=${CEPH_COLLECTION_PATH}/must_gather_commands
COMMAND_JSON_OUTPUT_DIR=${CEPH_COLLECTION_PATH}/must_gather_commands_json_output
Expand Down

0 comments on commit a5be6b0

Please sign in to comment.