From 3bc331de5515bd7502c3a329d365182b7d3f4a96 Mon Sep 17 00:00:00 2001 From: Nitin Goyal Date: Wed, 27 Jul 2022 15:19:14 +0530 Subject: [PATCH] feat: update reason as well in the lvmcluster status Signed-off-by: Nitin Goyal --- controllers/lvmcluster_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controllers/lvmcluster_controller.go b/controllers/lvmcluster_controller.go index 057ce3294..b5d2f8313 100644 --- a/controllers/lvmcluster_controller.go +++ b/controllers/lvmcluster_controller.go @@ -273,6 +273,7 @@ func (r *LVMClusterReconciler) updateLVMClusterStatus(ctx context.Context, insta vgNodeMap[item.Name] = []lvmv1alpha1.NodeStatus{ { Node: nodeItem.Name, + Reason: item.Reason, Status: item.Status, Devices: item.Devices, },