diff --git a/pkg/registry/core/pod/etcd/eviction.go b/pkg/registry/core/pod/etcd/eviction.go index 3aa788bdb7d..96d6da890f6 100644 --- a/pkg/registry/core/pod/etcd/eviction.go +++ b/pkg/registry/core/pod/etcd/eviction.go @@ -108,7 +108,7 @@ func (r *EvictionREST) checkAndDecrement(namespace string, pdb policy.PodDisrupt } pdb.Status.PodDisruptionAllowed = false - if _, err := r.podDisruptionBudgetClient.PodDisruptionBudgets(namespace).Update(&pdb); err != nil { + if _, err := r.podDisruptionBudgetClient.PodDisruptionBudgets(namespace).UpdateStatus(&pdb); err != nil { return false, err }