Skip to content
This repository was archived by the owner on Aug 23, 2023. It is now read-only.

correctly clear enrichment cache on upsert #1472

Merged
merged 1 commit into from
Sep 23, 2019

Conversation

replay
Copy link
Contributor

@replay replay commented Sep 23, 2019

Fixes a bug which causes that the enrichment cache never gets cleared. Because the upsert method is not a pointer receiver the instruction that's supposed to clear the cache is using a copy of the pointer to the cache, instead of the one we actually want to clear. By changing the method to a pointer receiver we clear the correct pointer instead of a copy of it.

@Dieterbe Dieterbe merged commit c5defa8 into master Sep 23, 2019
@Dieterbe Dieterbe deleted the fix_enrichment_cache_clearing branch September 23, 2019 17:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants