Skip to content

Commit

Permalink
Apply fix from #2674 to all applicable lines (#2719)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias authored Mar 24, 2022
1 parent 4399e22 commit 70a5446
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
}
},
Expand Down

0 comments on commit 70a5446

Please sign in to comment.