stolostron / multicloud-operators-foundation

Apache License 2.0
51 stars 35 forks source link

update ocp version if there is only 1 history item in clusterVersion #755

Open zhiweiyin318 opened 5 months ago

zhiweiyin318 commented 5 months ago

issue : https://issues.redhat.com/browse/ACM-12011 will not get the OCP version to the clusterClaim when the history items in the clusterversion only has 1 item and the status is not Completed. fix: get the OCP version if the history items in the clusterversion only has 1 item, will not check if the item is Completed.

openshift-ci[bot] commented 5 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: zhiweiyin318

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/stolostron/multicloud-operators-foundation/blob/main/OWNERS)~~ [zhiweiyin318] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

zhiweiyin318 commented 5 months ago

/assign @elgnay /assign @zhujian7