Skip to content

Commit

Permalink
fix issues/6808
Browse files Browse the repository at this point in the history
  • Loading branch information
litao34 committed May 9, 2024
1 parent 6492282 commit 60c625e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ func (s *scalingDirectionPodEvictionAdmission) LoopInit(_ []*apiv1.Pod, vpaContr
s.EvictionRequirements = make(map[*apiv1.Pod][]*vpa_types.EvictionRequirement)
for vpa, pods := range vpaControlledPods {
for _, pod := range pods {
// When UpdatePolicy is not specified, the default policy will be followed, and the EvictionRequirements field will be nil
// When UpdatePolicy is not specified, the default policy will be followed,
// and the EvictionRequirements field will be nil
if vpa.Spec.UpdatePolicy == nil {
continue
}
Expand Down

0 comments on commit 60c625e

Please sign in to comment.