Skip to content

Commit

Permalink
🍱 fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maxlerebourg authored Jun 19, 2023
1 parent 41a72e7 commit 754dede
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions simpleredis.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const (
RedisMiss = "redis:miss"
RedisTimeout = "redis:timeout"
RedisNoAuth = "redis:noauth"
RedisIssue = "redis:issue?"
)

// A redisCmd is used to communicate with redis at low level using commands.
Expand Down Expand Up @@ -125,6 +126,7 @@ func (sr *SimpleRedis) askRedis(cmd redisCmd, channel chan redisCmd) redisCmd {
}
}
}
return redisCmd{Error: fmt.Errorf(RedisIssue)}
}

// Init sets the redisHost used to connect to redis.
Expand Down

0 comments on commit 754dede

Please sign in to comment.