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,