From 1ec3cead995af1f3cebd9994470620f7e3d88238 Mon Sep 17 00:00:00 2001 From: Pranav Sharma Date: Fri, 2 Jun 2023 14:23:08 +0000 Subject: [PATCH] Fix go lint error --- example/metric/collector/example.go | 1 - 1 file changed, 1 deletion(-) diff --git a/example/metric/collector/example.go b/example/metric/collector/example.go index 1c33abc5d..1b9d5d6ce 100644 --- a/example/metric/collector/example.go +++ b/example/metric/collector/example.go @@ -54,7 +54,6 @@ func newObservedFloat(v float64) *observedFloat { // Export OTLP metrtics using the otlpmetrichttp exporter. // This example is used to demostrate how to use the collector approach to export metrics to Google Cloud. func main() { - ctx := context.Background() exp, err := otlpmetrichttp.New(ctx, otlpmetrichttp.WithInsecure()) if err != nil {