From d5edfc98174060b886a9d7254ec7cdb846fa3c68 Mon Sep 17 00:00:00 2001 From: Sakura Date: Thu, 6 Feb 2020 11:08:45 +0800 Subject: [PATCH] fix staticcheck errors in vendor/k8s.io/legacy-cloud-providers/aws. Signed-off-by: Sakura --- hack/.staticcheck_failures | 1 - staging/src/k8s.io/legacy-cloud-providers/aws/aws_fakes.go | 6 ------ 2 files changed, 7 deletions(-) diff --git a/hack/.staticcheck_failures b/hack/.staticcheck_failures index 9de4c1d6ce6..ec267673659 100644 --- a/hack/.staticcheck_failures +++ b/hack/.staticcheck_failures @@ -112,5 +112,4 @@ vendor/k8s.io/kubectl/pkg/cmd/util/editor vendor/k8s.io/kubectl/pkg/cmd/wait vendor/k8s.io/kubectl/pkg/describe/versioned vendor/k8s.io/kubectl/pkg/scale -vendor/k8s.io/legacy-cloud-providers/aws vendor/k8s.io/metrics/pkg/client/custom_metrics diff --git a/staging/src/k8s.io/legacy-cloud-providers/aws/aws_fakes.go b/staging/src/k8s.io/legacy-cloud-providers/aws/aws_fakes.go index ef77b502444..17383e52b6b 100644 --- a/staging/src/k8s.io/legacy-cloud-providers/aws/aws_fakes.go +++ b/staging/src/k8s.io/legacy-cloud-providers/aws/aws_fakes.go @@ -488,12 +488,6 @@ func (elb *FakeELB) ModifyLoadBalancerAttributes(*elb.ModifyLoadBalancerAttribut panic("Not implemented") } -// expectDescribeLoadBalancers is not implemented but is required for interface -// conformance -func (elb *FakeELB) expectDescribeLoadBalancers(loadBalancerName string) { - panic("Not implemented") -} - // FakeELBV2 is a fake ELBV2 client used for testing type FakeELBV2 struct { aws *FakeAWSServices