From f0f80c470ee547f372aac5fb47117623eda6e6a3 Mon Sep 17 00:00:00 2001 From: shaun-nx Date: Fri, 8 Mar 2024 10:57:00 +0000 Subject: [PATCH] gofumpt-ed --- internal/telemetry/data_attributes_generated.go | 5 +---- internal/telemetry/nicresourcecounts_attributes_generated.go | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/internal/telemetry/data_attributes_generated.go b/internal/telemetry/data_attributes_generated.go index 5503ddcf69..9fbc1610e6 100644 --- a/internal/telemetry/data_attributes_generated.go +++ b/internal/telemetry/data_attributes_generated.go @@ -1,5 +1,5 @@ - package telemetry + /* This is a generated file. DO NOT EDIT. */ @@ -7,9 +7,7 @@ This is a generated file. DO NOT EDIT. import ( "go.opentelemetry.io/otel/attribute" - ngxTelemetry "github.com/nginxinc/telemetry-exporter/pkg/telemetry" - ) func (d *Data) Attributes() []attribute.KeyValue { @@ -18,7 +16,6 @@ func (d *Data) Attributes() []attribute.KeyValue { attrs = append(attrs, d.Data.Attributes()...) attrs = append(attrs, d.NICResourceCounts.Attributes()...) - return attrs } diff --git a/internal/telemetry/nicresourcecounts_attributes_generated.go b/internal/telemetry/nicresourcecounts_attributes_generated.go index 725c60972d..1c85cd5542 100644 --- a/internal/telemetry/nicresourcecounts_attributes_generated.go +++ b/internal/telemetry/nicresourcecounts_attributes_generated.go @@ -1,5 +1,5 @@ - package telemetry + /* This is a generated file. DO NOT EDIT. */ @@ -7,9 +7,7 @@ This is a generated file. DO NOT EDIT. import ( "go.opentelemetry.io/otel/attribute" - ngxTelemetry "github.com/nginxinc/telemetry-exporter/pkg/telemetry" - ) func (d *NICResourceCounts) Attributes() []attribute.KeyValue { @@ -19,7 +17,6 @@ func (d *NICResourceCounts) Attributes() []attribute.KeyValue { attrs = append(attrs, attribute.Int64("VirtualServerRoutes", d.VirtualServerRoutes)) attrs = append(attrs, attribute.Int64("TransportServers", d.TransportServers)) - return attrs }