From b22ebfb2835ccb8a63bdebae3eb37067a5e8b889 Mon Sep 17 00:00:00 2001 From: Sam DeHaan Date: Wed, 11 Dec 2024 14:42:43 -0500 Subject: [PATCH] Clean up commented out code --- internal/component/otelcol/receiver/receiver.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/internal/component/otelcol/receiver/receiver.go b/internal/component/otelcol/receiver/receiver.go index 8c02b955a5..80b82efb06 100644 --- a/internal/component/otelcol/receiver/receiver.go +++ b/internal/component/otelcol/receiver/receiver.go @@ -184,15 +184,6 @@ func (r *Receiver) Update(args component.Arguments) error { next := r.args.NextConsumers() - // // if the otel config satisfies the operator.Builder interface we need to use the Build() function - // // to create the receiver - // if builder, ok := receiverConfig.(operator.Builder); ok { - // op, err := builder.Build(settings.TelemetrySettings) - // if err != nil { - // return err - // } - // } - // Create instances of the receiver from our factory for each of our // supported telemetry signals. var components []otelcomponent.Component