Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalhotra committed Jul 7, 2019
1 parent 1e87522 commit 43a1f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/db.go
Expand Up @@ -56,7 +56,8 @@ func (r Redis) Add(attack AttackDetails) error {
}

func (r Redis) GetAll(filterParams FilterParams) []AttackDetails {
var attacks []AttackDetails
attacks := make([]AttackDetails, 0)

filters := createFilterChain(filterParams)
conn := r.connFn()
defer conn.Close()
Expand Down

0 comments on commit 43a1f2c

Please sign in to comment.