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 Aug 22, 2022
1 parent a1a0a9d commit e757e9d
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 @@ -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,
},
Expand Down

0 comments on commit e757e9d

Please sign in to comment.