Skip to content

Commit

Permalink
UPSTREAM: <carry>: openshift: revert #113
Browse files Browse the repository at this point in the history
This reverts commit b8ec486.
  • Loading branch information
frobware authored and enxebre committed Oct 28, 2019
1 parent 80710de commit 76894dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 100 deletions.
10 changes: 0 additions & 10 deletions cluster-autoscaler/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider"
cloudBuilder "k8s.io/autoscaler/cluster-autoscaler/cloudprovider/builder"
"k8s.io/autoscaler/cluster-autoscaler/cloudprovider/openshiftmachineapi"
"k8s.io/autoscaler/cluster-autoscaler/config"
"k8s.io/autoscaler/cluster-autoscaler/core"
"k8s.io/autoscaler/cluster-autoscaler/estimator"
Expand Down Expand Up @@ -297,15 +296,6 @@ func buildAutoscaler() (core.Autoscaler, error) {
Comparator: nodegroupset.IsAzureNodeInfoSimilar}
}

if autoscalingOptions.CloudProviderName == openshiftmachineapi.ProviderName {
// We do this because of:
// - https://bugzilla.redhat.com/show_bug.cgi?id=1731011
// - https://bugzilla.redhat.com/show_bug.cgi?id=1733235
processors.NodeGroupSetProcessor = &nodegroupset.BalancingNodeGroupSetProcessor{
Comparator: nodegroupset.IsOpenShiftMachineApiNodeInfoSimilar}

}

opts := core.AutoscalerOptions{
AutoscalingOptions: autoscalingOptions,
KubeClient: kubeClient,
Expand Down

This file was deleted.

0 comments on commit 76894dc

Please sign in to comment.