Skip to content

Commit

Permalink
fix golangci critics
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Apr 28, 2021
1 parent 824b68e commit 70dc240
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ linters:
- interfacer
- wsl
- godot
- gofumpt
- nlreturn
- exhaustivestruct
- cyclop
fast: false
issues:
max-same-issues: 0
Expand Down
1 change: 1 addition & 0 deletions cmd/mod_prometheus_status/prometheus_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
)

func TestExpandBuckets(t *testing.T) {
t.Parallel()
list := []float64{0.1, 0.5, 1, 10}
res, err := expandBuckets(" 0.1;0.5;1; 10")
CmpNoError(t, err)
Expand Down

0 comments on commit 70dc240

Please sign in to comment.