remove unnecessary call to metrics install package

remove init and reference to client-go/api from metrcis install package
This commit is contained in:
Chao Xu
2017-05-05 11:14:37 -07:00
parent 074affca6b
commit b5a41e770a
3 changed files with 0 additions and 14 deletions

View File

@@ -26,10 +26,6 @@ import (
"k8s.io/kubernetes/pkg/controller/podautoscaler/metrics"
resourceclient "k8s.io/metrics/pkg/client/clientset_generated/clientset/typed/metrics/v1alpha1"
"k8s.io/metrics/pkg/client/custom_metrics"
// install the APIs so that they're registered with the scheme for the clients
_ "k8s.io/metrics/pkg/apis/custom_metrics/install"
_ "k8s.io/metrics/pkg/apis/metrics/install"
)
func startHPAController(ctx ControllerContext) (bool, error) {