From 70a54468ae56f4064d8afc75273c6a52b4a7c778 Mon Sep 17 00:00:00 2001 From: Tyler Yahn Date: Thu, 24 Mar 2022 15:57:14 -0700 Subject: [PATCH] Apply fix from #2674 to all applicable lines (#2719) --- exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go b/exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go index 3496b17cccd..9bfafcf85fe 100644 --- a/exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go +++ b/exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go @@ -256,6 +256,7 @@ func TestConfigs(t *testing.T) { if grpcOption { assert.NotNil(t, c.Metrics.GRPCCredentials) } else { + // nolint:staticcheck // ignoring tlsCert.RootCAs.Subjects is deprecated ERR because cert does not come from SystemCertPool. assert.Equal(t, 1, len(c.Metrics.TLSCfg.RootCAs.Subjects())) } },