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

NAS-134005 / 25.04-RC.1 / cache immutable type in get_country_codes (by yocalebo) #15589

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

bugclerk
Copy link
Contributor

@bugclerk bugclerk commented Feb 5, 2025

I have this tendency to cache functions that return mutable objects. That can lead to a set of issues that no one should have to endure 😄.

I'll start fixing these 1-by-1 so I started with get_country_codes function.

Original PR: #15587
Jira URL: https://ixsystems.atlassian.net/browse/NAS-134005

@yocalebo yocalebo merged commit 270146f into stable/fangtooth Feb 5, 2025
1 check passed
@yocalebo yocalebo deleted the NAS-134005-25.04-RC.1 branch February 5, 2025 00:30
@bugclerk
Copy link
Contributor Author

bugclerk commented Feb 5, 2025

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Feb 5, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants