diff --git a/collection-scripts/common.sh b/collection-scripts/common.sh index 453afe9..9495cb2 100755 --- a/collection-scripts/common.sh +++ b/collection-scripts/common.sh @@ -37,7 +37,7 @@ function rhoai_version() { # read label from operator deployment if [ -z "${version}" ]; then - version=$(oc get deployment/rhods-operator -n redhat-ods-operator --output=json | jq '.metadata.labels."olm.owner"') + version=$(oc get deployment/rhoai-operator-controller-manager -n redhat-ods-operator --output=json | jq '.metadata.labels."olm.owner"') fi # if version still not found, use Unknown