Skip to content

Commit

Permalink
Merge pull request #337 from fmount/obs_gen
Browse files Browse the repository at this point in the history
Fix ObsGen condition check
  • Loading branch information
openshift-merge-bot[bot] authored Apr 17, 2024
2 parents 051151b + e50cecb commit b67af19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/neutronapi_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1009,7 +1009,7 @@ func (r *NeutronAPIReconciler) reconcileNormal(ctx context.Context, instance *ne
return ctrlResult, nil
}

if depl.GetDeployment().Generation <= depl.GetDeployment().Status.ObservedGeneration {
if depl.GetDeployment().Generation == depl.GetDeployment().Status.ObservedGeneration {
instance.Status.ReadyCount = depl.GetDeployment().Status.ReadyReplicas

// verify if network attachment matches expectations
Expand Down

0 comments on commit b67af19

Please sign in to comment.