From 2c7f7505c19df5ceeae4d17418ae38454aa5b4c6 Mon Sep 17 00:00:00 2001 From: Vihas Makwana Date: Tue, 3 Dec 2024 16:47:54 +0530 Subject: [PATCH] lint --- testbed/tests/scenarios.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/testbed/tests/scenarios.go b/testbed/tests/scenarios.go index bb4d8f6c6fb9..c61e0c5ae051 100644 --- a/testbed/tests/scenarios.go +++ b/testbed/tests/scenarios.go @@ -23,9 +23,11 @@ import ( "github.com/open-telemetry/opentelemetry-collector-contrib/testbed/testbed" ) -var performanceResultsSummary testbed.TestResultsSummary = &testbed.PerformanceResults{} -var batchRegex = regexp.MustCompile(` batch_index=(\S+) `) -var itemRegex = regexp.MustCompile(` item_index=(\S+) `) +var ( + batchRegex = regexp.MustCompile(` batch_index=(\S+) `) + itemRegex = regexp.MustCompile(` item_index=(\S+) `) + performanceResultsSummary testbed.TestResultsSummary = &testbed.PerformanceResults{} +) type ProcessorNameAndConfigBody struct { Name string