mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-28 13:45:50 +00:00
Automatic merge from submit-queue scheduler: fix validation test Signed-off-by: sakeven <jc5930@sina.cn> **What this PR does / why we need it**: Without setting `Weight`, `ValidatePolicy` will report ``` Priority for extender http://127.0.0.1:8081/extender should have a positive weight applied to it ``` **Besides**, it seems it's not a good way to test ValidatePolicy by```if ValidatePolicy(extenderPolicy) == nil```, because we can't determine specific reason which causes error. **Special notes for your reviewer**: **Release note**: ``` NONE ```