Skip to content

Commit ee5189c

Browse files
committed
fix
1 parent d54eb97 commit ee5189c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/agent/qrm-plugins/cpu/dynamicpolicy/policy_advisor_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ func (p *DynamicPolicy) checkAndApplyAllPodsQuota(calculationInfo *advisorsvc.Ca
604604

605605
_, limit := resource.PodRequestsAndLimits(pod)
606606
if _, ok := limit[v1.ResourceCPU]; !ok {
607-
general.Warningf("no cpu limit for pod dir %s: %v", podDir, err)
607+
general.Warningf("no cpu limit for pod %s: %v", pod.Name, err)
608608
continue
609609
}
610610

0 commit comments

Comments
 (0)