diff --git a/prometheus/metric_test.go b/prometheus/metric_test.go index 6100e0d8a..445b838dc 100644 --- a/prometheus/metric_test.go +++ b/prometheus/metric_test.go @@ -16,6 +16,7 @@ package prometheus import ( "testing" + //nolint:staticcheck // Ignore SA1019. Need to keep deprecated package for compatibility. "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" )