Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Dec 5, 2024
1 parent 7853a03 commit f663df8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/services/ocr3/promwrapper/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"github.com/stretchr/testify/require"

"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"

"github.com/smartcontractkit/libocr/offchainreporting2plus/ocr3types"
ocrtypes "github.com/smartcontractkit/libocr/offchainreporting2plus/types"
)
Expand Down Expand Up @@ -165,6 +166,6 @@ func counterFromHistogramByLabels(t *testing.T, histogramVec *prometheus.Histogr
err = metric.Write(pb)
require.NoError(t, err)

//nolint:gosec
//nolint:gosec // we don't care about that in tests
return int(pb.GetHistogram().GetSampleCount())
}

0 comments on commit f663df8

Please sign in to comment.