Skip to content

Commit

Permalink
remove unused work queue
Browse files Browse the repository at this point in the history
  • Loading branch information
cjerad committed Dec 20, 2021
1 parent 75492a4 commit d62d1ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions pkg/cloudprovider/aws/cloudprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import (
"github.com/aws/karpenter/pkg/apis/provisioning/v1alpha5"
"github.com/aws/karpenter/pkg/cloudprovider"
"github.com/aws/karpenter/pkg/cloudprovider/aws/apis/v1alpha1"
"github.com/aws/karpenter/pkg/utils/parallel"
"github.com/aws/karpenter/pkg/utils/project"

"go.uber.org/multierr"
Expand Down Expand Up @@ -59,7 +58,6 @@ type CloudProvider struct {
instanceTypeProvider *InstanceTypeProvider
subnetProvider *SubnetProvider
instanceProvider *InstanceProvider
creationQueue *parallel.WorkQueue
}

func NewCloudProvider(ctx context.Context, options cloudprovider.Options) *CloudProvider {
Expand Down Expand Up @@ -87,7 +85,6 @@ func NewCloudProvider(ctx context.Context, options cloudprovider.Options) *Cloud
NewSecurityGroupProvider(ec2api),
),
},
creationQueue: parallel.NewWorkQueue(CreationQPS, CreationBurst),
}
}

Expand Down
2 changes: 0 additions & 2 deletions pkg/cloudprovider/aws/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ import (
. "github.com/aws/karpenter/pkg/test/expectations"
"github.com/aws/karpenter/pkg/utils/injection"
"github.com/aws/karpenter/pkg/utils/options"
"github.com/aws/karpenter/pkg/utils/parallel"
"github.com/aws/karpenter/pkg/utils/resources"
"github.com/patrickmn/go-cache"

Expand Down Expand Up @@ -94,7 +93,6 @@ var _ = BeforeSuite(func() {
cache: launchTemplateCache,
},
},
creationQueue: parallel.NewWorkQueue(CreationQPS, CreationBurst),
}
registry.RegisterOrDie(ctx, cloudProvider)
provisioners = provisioning.NewController(ctx, e.Client, clientSet.CoreV1(), cloudProvider)
Expand Down

0 comments on commit d62d1ee

Please sign in to comment.