Skip to content

Commit

Permalink
feat: update reason as well in the lvmcluster status
Browse files Browse the repository at this point in the history
Signed-off-by: Nitin Goyal <nigoyal@redhat.com>
  • Loading branch information
iamniting committed Jul 27, 2022
1 parent a5ad575 commit 3bc331d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/lvmcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down

0 comments on commit 3bc331d

Please sign in to comment.