Skip to content

Commit 1e761e6

Browse files
committed
remove revive to make 0.24.x compatible with lates
with latest golangci-lint and reformat the metrics Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent 8e4dc4c commit 1e761e6

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ linters:
9797
- promlinter
9898
- protogetter
9999
- reassign
100-
- revive
100+
# - revive
101101
#- rowserrcheck
102102
- sloglint
103103
#- sqlclosecheck

pkg/metrics/metrics.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ func NewRecorder() (*Recorder, error) {
5353
TagKeys: []tag.Key{r.provider, r.eventType},
5454
},
5555
)
56-
5756
if err != nil {
5857
r.initialized = false
5958
return r, err

0 commit comments

Comments
 (0)