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

chore: govc: use generated enum lists #3427

Merged
merged 1 commit into from
May 6, 2024
Merged

Conversation

dougm
Copy link
Member

@dougm dougm commented Apr 25, 2024

Make use of generated enum lists added in #3426

Copy link
Member

@akutz akutz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. @dougm !

@akutz akutz merged commit 218b261 into vmware:main May 6, 2024
11 checks passed
dougm added a commit to dougm/govmomi that referenced this pull request Aug 2, 2024
PR vmware#3427 changed to using generated enum lists in various govc commands.
This also changed the default DiskProvisioning value from "flat" to "monolithicSparse",
which results in a DeviceUnsupportedForVmPlatform fault when importing.

This change restores the default to "flat".
The default values for IPProtocol and IPAllocationPolicy had not changed,
but this commit explicitly sets their values rather than using first element of the generated list.

Fixes vmware#3483
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants