diff --git a/cache/cache.go b/cache/cache.go index 7209ba4..b5e8884 100644 --- a/cache/cache.go +++ b/cache/cache.go @@ -39,7 +39,7 @@ func (c *EventCache) Load(logGroupName string, key *string) (ok bool) { return false } cache := v.(map[string]*int64) - _, ok = cache[logGroupName] + _, ok = cache[*key] return ok }