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

🐛 Handle resize for VMs that were classless #916

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

Conversation

bryanv
Copy link
Contributor

@bryanv bryanv commented Mar 7, 2025

What does this PR do, and why is it needed?

For a classless VM, we'll store an empty class name in the LastResizedAnnotation value. Update ResizeNeeded() to instead compare that empty class name with the existing - now not empty class name - so it will now return that the VM needs a resize.

Which issue(s) is/are addressed by this PR? (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):

Fixes #

Are there any special notes for your reviewer:

Please add a release note if necessary:

Handle resize of VMs that were originally classless.

For a classless VM, we'll store an empty class name in the
LastResizedAnnotation value. Update ResizeNeeded() to instead
compare that empty class name with the existing - now not
empty class name - so it will now return that the VM needs
a resize.
@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines. label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-not-required size/L Denotes a PR that changes 100-499 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants