k3s/plugin
Kubernetes Submit Queue 093dd52db2 Merge pull request #48337 from sakeven/fix/validation_test
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
```
2017-07-07 22:38:28 -07:00
..
cmd/kube-scheduler run hack/update-all 2017-06-22 11:31:03 -07:00
pkg Merge pull request #48337 from sakeven/fix/validation_test 2017-07-07 22:38:28 -07:00
BUILD Simply changed the names of packages of some admission plugins. 2017-06-05 22:23:42 +02:00
OWNERS