Skip to content

Commit 70a5446

Browse files
authored
Apply fix from #2674 to all applicable lines (#2719)
1 parent 4399e22 commit 70a5446

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

exporters/otlp/otlpmetric/internal/otlpconfig/options_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ func TestConfigs(t *testing.T) {
256256
if grpcOption {
257257
assert.NotNil(t, c.Metrics.GRPCCredentials)
258258
} else {
259+
// nolint:staticcheck // ignoring tlsCert.RootCAs.Subjects is deprecated ERR because cert does not come from SystemCertPool.
259260
assert.Equal(t, 1, len(c.Metrics.TLSCfg.RootCAs.Subjects()))
260261
}
261262
},

0 commit comments

Comments
 (0)