Skip to content

Commit

Permalink
Fix off by one (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
agouin authored Nov 8, 2023
1 parent 57256cb commit f62ef4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/cosmosfullnode_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (r *CosmosFullNodeReconciler) updateStatus(
if status.Height == nil {
status.Height = make(map[string]uint64)
}
status.Height[k] = *v.Height
status.Height[k] = *v.Height + 1 // we want the block that is going through consensus, not the committed one.
}
}
if status.SelfHealing.PVCAutoScale != nil {
Expand Down

0 comments on commit f62ef4c

Please sign in to comment.