Skip to content

Commit

Permalink
feat(redis): fix update method name
Browse files Browse the repository at this point in the history
  • Loading branch information
id committed May 20, 2020
1 parent f2ed092 commit 0785244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (c *SyncCacheClient) RemoveCacheGroup(cacheGroupName string) {
c.cacheGroupManager.Unlock()
}

func (c *SyncCacheClient) UpdateRedisKey(cacheGroupName, key string) {
func (c *SyncCacheClient) Update(cacheGroupName, key string) {
newUuid := uuidgen.New().String()
c.redis.Set(cacheGroupName+"_"+key, newUuid, 0)
}
Expand Down

0 comments on commit 0785244

Please sign in to comment.