Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix caching of Metadata.DataKey #1781

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

felixfontein
Copy link
Contributor

At the end of the function, the key was stored in m.DataKey. Since m was a copy of the called object, this did not cache anything.

(Also found with make staticcheck; I created a separate PR since this is clearly a bugfix.)

At the end of the function, the key was stored in m.DataKey. Since m was a copy
of the called object, this did not cache anything.

Signed-off-by: Felix Fontein <[email protected]>
@felixfontein felixfontein requested a review from a team March 2, 2025 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant