Skip to content

Commit

Permalink
[report]: fix reset cache
Browse files Browse the repository at this point in the history
  • Loading branch information
vkopitsa committed Aug 9, 2019
1 parent fdb9ae1 commit 1b77fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion report.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func (r *report) ResetLastData() {
for cacheKey := range r.cache {
for _, key := range keys {
if strings.Contains(cacheKey, key) {
delete(r.cache, key)
delete(r.cache, cacheKey)
}
}
}
Expand Down

0 comments on commit 1b77fda

Please sign in to comment.