From 17197ed154e1727d2313219af72c3b31be44db62 Mon Sep 17 00:00:00 2001 From: jjllee Date: Fri, 8 Nov 2024 14:13:28 -0800 Subject: [PATCH] remove redundant eks resolver helper method for testing --- .../awsapplicationsignalsprocessor/config/config_test.go | 2 +- .../awsapplicationsignalsprocessor/config/resolvers.go | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/processor/awsapplicationsignalsprocessor/config/config_test.go b/processor/awsapplicationsignalsprocessor/config/config_test.go index 484254f8eaf1..c399408af07d 100644 --- a/processor/awsapplicationsignalsprocessor/config/config_test.go +++ b/processor/awsapplicationsignalsprocessor/config/config_test.go @@ -20,7 +20,7 @@ func TestValidatePassed(t *testing.T) { }, { "testEKSWithoutName", - NewEKSResolverWithoutName(), + NewEKSResolver(""), }, { "testK8S", diff --git a/processor/awsapplicationsignalsprocessor/config/resolvers.go b/processor/awsapplicationsignalsprocessor/config/resolvers.go index f9382a676529..3c66b5d7adeb 100644 --- a/processor/awsapplicationsignalsprocessor/config/resolvers.go +++ b/processor/awsapplicationsignalsprocessor/config/resolvers.go @@ -28,12 +28,6 @@ func NewEKSResolver(name string) Resolver { } } -func NewEKSResolverWithoutName() Resolver { - return Resolver{ - Platform: PlatformEKS, - } -} - func NewK8sResolver(name string) Resolver { return Resolver{ Name: name,