diff --git a/storage/repository.go b/storage/repository.go index 07ad6a5..887b718 100644 --- a/storage/repository.go +++ b/storage/repository.go @@ -537,9 +537,9 @@ func (c *Cache) UpdateApolloConfigCache(configurations map[string]interface{}, e } if err := config.cache.Set(key, value, expireTime); err != nil { - log.Errorf("set key %s to cache, error: %v", key, err) + log.Errorf("set key %s to cache, error: %v", key, err) } - + delete(mp, key) }