From 9ac0f3253db1cb28db846e3db6c4306ba02ce693 Mon Sep 17 00:00:00 2001 From: myan Date: Mon, 23 Dec 2024 08:17:06 +0000 Subject: [PATCH] provide vendor version Signed-off-by: myan --- .../managedclusterinfo/managed_cluster_info_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/agent/pkg/controllers/inventory/managedclusterinfo/managed_cluster_info_controller.go b/agent/pkg/controllers/inventory/managedclusterinfo/managed_cluster_info_controller.go index 0be06a219..1c0567af3 100644 --- a/agent/pkg/controllers/inventory/managedclusterinfo/managed_cluster_info_controller.go +++ b/agent/pkg/controllers/inventory/managedclusterinfo/managed_cluster_info_controller.go @@ -154,6 +154,7 @@ func GetK8SCluster(clusterInfo *clusterinfov1beta1.ManagedClusterInfo, ExternalClusterId: clusterId, KubeVersion: clusterInfo.Status.Version, Nodes: []*kessel.K8SClusterDetailNodesInner{}, + VendorVersion: clusterInfo.Status.Version, }, }