From e757e9db980d72e8591bb893b709029467b70d61 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 b8d4d2502..38863cd5c 100644 --- a/controllers/lvmcluster_controller.go +++ b/controllers/lvmcluster_controller.go @@ -290,6 +290,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, },