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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user