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

Adjust NewSizedCache to take in a size function #1725

Merged
merged 4 commits into from
Jul 18, 2023

Conversation

dhrubabasu
Copy link
Contributor

Why this should be merged

Explicit size functions can handle nil whereas SizedElement does not work for nil.

How this works

Modifies the function signature.

How this was tested

CI

@dhrubabasu dhrubabasu added this to the v1.10.5 milestone Jul 17, 2023
@dhrubabasu dhrubabasu self-assigned this Jul 17, 2023
vms/platformvm/state/state.go Outdated Show resolved Hide resolved
vms/platformvm/state/state.go Outdated Show resolved Hide resolved
@StephenButtolph StephenButtolph merged commit d7ad185 into dev Jul 18, 2023
13 checks passed
@StephenButtolph StephenButtolph deleted the simplify-new-sized-cache branch July 18, 2023 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants