Skip to content

Commit

Permalink
update deployment name
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaypratap003 committed Oct 7, 2024
1 parent 47e831a commit 433f821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collection-scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 433f821

Please sign in to comment.