Skip to content

Commit

Permalink
Merge pull request #378 from MarSik/nto-image-source
Browse files Browse the repository at this point in the history
Use oc get daemonset to identify the NTO image
  • Loading branch information
openshift-merge-robot committed Sep 4, 2023
2 parents a1352bc + ae20e55 commit 197b7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collection-scripts/gather_ppc
Expand Up @@ -39,7 +39,7 @@ function ppc_nodes() {

# Find the NTO image reference
# NTO contains all the tools needed here
NTO=$(oc adm release info --image-for=cluster-node-tuning-operator)
NTO=$(oc get deployment -n openshift-cluster-node-tuning-operator cluster-node-tuning-operator -o jsonpath="{.spec.template.spec.containers[0].image}")
if [ $? -ne 0 ]; then
echo "ERROR: Failed to identify the container image with node tools."
echo "INFO: Node performance data collection will not contain node level data."
Expand Down

0 comments on commit 197b7c6

Please sign in to comment.