Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton committed Oct 5, 2020
1 parent 92ff0cd commit f16cbd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (c *RedisStore) Increment(key string, delta uint64) (uint64, error) {
func (c *RedisStore) Decrement(key string, delta uint64) (newValue uint64, err error) {
conn := c.pool.Get()
defer conn.Close()
// Check for existance *before* increment as per the cache contract.
// Check for existence *before* increment as per the cache contract.
// redis will auto create the key, and we don't want that, hence the exists call
if !exists(conn, key) {
return 0, ErrCacheMiss
Expand Down

0 comments on commit f16cbd9

Please sign in to comment.