alias local packagename for pkg/util/errors

This commit is contained in:
eulerzgy
2015-10-14 13:18:37 +08:00
parent 0338e0ef53
commit f8f9afb874
29 changed files with 83 additions and 83 deletions

View File

@@ -19,7 +19,7 @@ package validation
import (
"fmt"
"k8s.io/kubernetes/pkg/util/errors"
utilerrors "k8s.io/kubernetes/pkg/util/errors"
schedulerapi "k8s.io/kubernetes/plugin/pkg/scheduler/api"
)
@@ -34,5 +34,5 @@ func ValidatePolicy(policy schedulerapi.Policy) error {
}
}
return errors.NewAggregate(validationErrors)
return utilerrors.NewAggregate(validationErrors)
}