mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Delete todo comment to ignore update where 'old' is equivalent to 'cur' (#130322)
* use resource version to ignore updating pdb * delete todo comment
This commit is contained in:
parent
4c311c9fcf
commit
efac8fdea2
@ -481,7 +481,6 @@ func (dc *DisruptionController) addDB(logger klog.Logger, obj interface{}) {
|
||||
}
|
||||
|
||||
func (dc *DisruptionController) updateDB(logger klog.Logger, old, cur interface{}) {
|
||||
// TODO(mml) ignore updates where 'old' is equivalent to 'cur'.
|
||||
pdb := cur.(*policy.PodDisruptionBudget)
|
||||
logger.V(4).Info("Update DB", "podDisruptionBudget", klog.KObj(pdb))
|
||||
dc.enqueuePdb(logger, pdb)
|
||||
|
Loading…
Reference in New Issue
Block a user