Skip to content

Commit

Permalink
Merge pull request #203 from jbampton/fix-spelling
Browse files Browse the repository at this point in the history
Fix spelling
  • Loading branch information
thinkerou authored Oct 5, 2020
2 parents 92ff0cd + f16cbd9 commit ca038bb
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 ca038bb

Please sign in to comment.