From 8ffa897b5caacd4257efe71eb642f5a88208e5b1 Mon Sep 17 00:00:00 2001 From: Avesh Agarwal Date: Mon, 7 Aug 2017 12:32:13 -0400 Subject: [PATCH] Update api install code to use rescheduler's scheme. --- pkg/api/install/install.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/api/install/install.go b/pkg/api/install/install.go index c42e2ee7b..ce27c37e2 100644 --- a/pkg/api/install/install.go +++ b/pkg/api/install/install.go @@ -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