1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00

Update api install code to use rescheduler's scheme.

This commit is contained in:
Avesh Agarwal
2017-08-07 12:32:13 -04:00
parent 81b37707df
commit 8ffa897b5c

View File

@@ -21,6 +21,7 @@ import (
"k8s.io/apimachinery/pkg/apimachinery/announced"
"k8s.io/apimachinery/pkg/apimachinery/registered"
"k8s.io/apimachinery/pkg/runtime"
//"k8s.io/kubernetes/pkg/api"
reschedulerapi "github.com/aveshagarwal/rescheduler/pkg/api"
"github.com/aveshagarwal/rescheduler/pkg/api/v1alpha1"
@@ -29,6 +30,7 @@ import (
func init() {
Install(reschedulerscheme.GroupFactoryRegistry, reschedulerscheme.Registry, reschedulerscheme.Scheme)
//Install(api.GroupFactoryRegistry, api.Registry, api.Scheme)
}
// Install registers the API group and adds types to a scheme