Skip to content

Commit

Permalink
fix lint violations
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Oct 14, 2019
1 parent 483fd09 commit 1ab63d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ linters:
- funlen
- gochecknoglobals
- gochecknoinits
- gocognit
- goconst
- gocritic
- gocyclo
- lll
- unparam
- wsl
1 change: 1 addition & 0 deletions db/redis/storage/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ func startSentinels(ports []string) (func(), error) {
fmt.Fprintf(f, string(configTemplate), port)
f.Close()
tempFiles[i] = f.Name()
//nolint:gosec
cmd := exec.Command("redis-server", f.Name(), "--sentinel")
cmd.Dir = os.TempDir()
err = cmd.Start()
Expand Down

0 comments on commit 1ab63d4

Please sign in to comment.