Fix CI issue

The scheduler module has been moved outside of the plugin subdirectory
in the kubernetes/kubernetes project. The gate should change
accordingly.
pull/6867/head
Qiming Teng 2018-01-07 12:18:14 +08:00
parent 4f283b03b2
commit 2bbaf5c464
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ import (
storage_validation "k8s.io/kubernetes/pkg/apis/storage/validation" storage_validation "k8s.io/kubernetes/pkg/apis/storage/validation"
"k8s.io/kubernetes/pkg/capabilities" "k8s.io/kubernetes/pkg/capabilities"
"k8s.io/kubernetes/pkg/registry/batch/job" "k8s.io/kubernetes/pkg/registry/batch/job"
schedulerapilatest "k8s.io/kubernetes/plugin/pkg/scheduler/api/latest" schedulerapilatest "k8s.io/kubernetes/pkg/scheduler/api/latest"
) )
func validateObject(obj runtime.Object) (errors field.ErrorList) { func validateObject(obj runtime.Object) (errors field.ErrorList) {