From afb98357359b02745270f33ad38ffcf83e227212 Mon Sep 17 00:00:00 2001 From: Abhinav Dahiya Date: Fri, 11 Jan 2019 15:22:04 -0800 Subject: [PATCH] frontend/public/cluster-settings: fix current version from clusterversion https://github.com/openshift/api/pull/153 moved the field for the current version as reported by the cluster version operator. --- .../public/components/cluster-settings/cluster-settings.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/public/components/cluster-settings/cluster-settings.tsx b/frontend/public/components/cluster-settings/cluster-settings.tsx index 18d4eccb463..5f0f3464f48 100644 --- a/frontend/public/components/cluster-settings/cluster-settings.tsx +++ b/frontend/public/components/cluster-settings/cluster-settings.tsx @@ -42,7 +42,7 @@ export const getAvailableClusterUpdates = (cv) => { }; export const getCurrentClusterVersion = (cv) => { - return _.get(cv, 'status.current.version'); + return _.get(cv, 'status.desired.version'); };