Skip to content

Commit

Permalink
Merge pull request #275 from gibizer/remove-explicit-status-update
Browse files Browse the repository at this point in the history
DBCluster: remove explicit status update
  • Loading branch information
openshift-merge-bot[bot] authored Apr 29, 2024
2 parents 886c9d8 + 7525e9d commit 0fb309d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions controllers/ovndbcluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -823,9 +823,6 @@ func (r *OVNDBClusterReconciler) createHashOfInputHashes(
}
if hashMap, changed := util.SetHash(instance.Status.Hash, common.InputHashName, hash); changed {
instance.Status.Hash = hashMap
if err := r.Client.Status().Update(ctx, instance); err != nil {
return hash, err
}
Log.Info(fmt.Sprintf("Input maps hash %s - %s", common.InputHashName, hash))
}
return hash, nil
Expand Down

0 comments on commit 0fb309d

Please sign in to comment.