File tree 13 files changed +12
-7
lines changed
13 files changed +12
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
include Makefile.common
15
15
16
- # http.CloseNotifier is deprecated but we don't want to remove support
17
- # from client_golang to not break anybody still using it.
18
- STATICCHECK_IGNORE = \
19
- github.com/prometheus/client_golang/prometheus/promhttp/delegator*.go:SA1019 \
20
- github.com/prometheus/client_golang/prometheus/promhttp/instrument_server_test.go:SA1019 \
21
- github.com/prometheus/client_golang/prometheus/http.go:SA1019
22
-
23
16
.PHONY : test
24
17
test : deps common-test
25
18
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"testing"
20
20
"time"
21
21
22
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
22
23
"github.com/golang/protobuf/proto"
23
24
"github.com/golang/protobuf/ptypes"
24
25
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import (
20
20
"strings"
21
21
22
22
"github.com/cespare/xxhash/v2"
23
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
23
24
"github.com/golang/protobuf/proto"
24
25
"github.com/prometheus/common/model"
25
26
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import (
22
22
"strings"
23
23
"time"
24
24
25
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
25
26
"github.com/golang/protobuf/proto"
26
27
"github.com/prometheus/common/expfmt"
27
28
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ import (
22
22
"sync/atomic"
23
23
"time"
24
24
25
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
25
26
"github.com/golang/protobuf/proto"
26
27
27
28
dto "github.com/prometheus/client_model/go"
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import (
24
24
"testing/quick"
25
25
"time"
26
26
27
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
27
28
"github.com/golang/protobuf/proto"
28
29
"github.com/golang/protobuf/ptypes"
29
30
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import (
17
17
"strings"
18
18
"time"
19
19
20
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
20
21
"github.com/golang/protobuf/proto"
21
22
"github.com/prometheus/common/model"
22
23
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import (
26
26
"unicode/utf8"
27
27
28
28
"github.com/cespare/xxhash/v2"
29
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
29
30
"github.com/golang/protobuf/proto"
30
31
"github.com/prometheus/common/expfmt"
31
32
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ import (
33
33
34
34
dto "github.com/prometheus/client_model/go"
35
35
36
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
36
37
"github.com/golang/protobuf/proto"
37
38
"github.com/prometheus/common/expfmt"
38
39
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import (
23
23
"time"
24
24
25
25
"github.com/beorn7/perks/quantile"
26
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
26
27
"github.com/golang/protobuf/proto"
27
28
28
29
dto "github.com/prometheus/client_model/go"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"time"
20
20
"unicode/utf8"
21
21
22
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
22
23
"github.com/golang/protobuf/proto"
23
24
"github.com/golang/protobuf/ptypes"
24
25
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import (
17
17
"fmt"
18
18
"sort"
19
19
20
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
20
21
"github.com/golang/protobuf/proto"
21
22
22
23
dto "github.com/prometheus/client_model/go"
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ import (
19
19
"strings"
20
20
"testing"
21
21
22
+ //lint:ignore SA1019 Need to keep deprecated package for compatibility.
22
23
"github.com/golang/protobuf/proto"
23
24
24
25
dto "github.com/prometheus/client_model/go"
You can’t perform that action at this time.
0 commit comments