Skip to content

Commit d7cb6b9

Browse files
authoredMar 4, 2025
removing release image condition for upgrading issue (stolostron#4310)
Signed-off-by: Nitin Dhevar <nitin.dhanabalan@gmail.com>
1 parent b5d34ca commit d7cb6b9

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎frontend/src/resources/utils/get-cluster.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -1567,11 +1567,7 @@ export function getHCUpgradeStatus(hostedCluster?: HostedClusterK8sResource) {
15671567
const mostRecentVersion = pastVersions[0].image
15681568
//If desired version is > current version and progressing, HC is currently updating
15691569

1570-
return (
1571-
desiredVersion !== mostRecentVersion ||
1572-
pastVersions[0].state === 'Partial' ||
1573-
hostedCluster.spec.release.image != mostRecentVersion
1574-
)
1570+
return desiredVersion !== mostRecentVersion || pastVersions[0].state === 'Partial'
15751571
} else {
15761572
return
15771573
}

0 commit comments

Comments
 (0)