Skip to content

VMIPushItem: Use converter for boot_mode - #671

Merged
rbikar merged 1 commit into
release-engineering:masterfrom
JAVGan:bootmode_converter
Aug 27, 2025
Merged

VMIPushItem: Use converter for boot_mode#671
rbikar merged 1 commit into
release-engineering:masterfrom
JAVGan:bootmode_converter

Conversation

@JAVGan

@JAVGan JAVGan commented Aug 26, 2025

Copy link
Copy Markdown
Contributor

This commit changes the VMIPushItem class to use a converter in the attribute boot_mode which is capable of properly converting it to the BootMode enum whenever possible.

It fixes issues downstream where the information is given as a string instead of the Enum.

Refers to SPSTRAT-600

@JAVGan

JAVGan commented Aug 26, 2025

Copy link
Copy Markdown
Contributor Author

@lslebodn @rbikar PTAL

@JAVGan
JAVGan force-pushed the bootmode_converter branch from 768d349 to b52489a Compare August 26, 2025 15:17
This commit changes the `VMIPushItem` class to use a converter in the
attribute `boot_mode` which is capable of properly converting it to the
`BootMode` enum whenever possible.

It fixes issues downstream where the information is given as a
string instead of the Enum.

Refers to SPSTRAT-600

Signed-off-by: Jonathan Gangi <jgangi@redhat.com>
@JAVGan
JAVGan force-pushed the bootmode_converter branch from b52489a to bea4386 Compare August 26, 2025 15:55

@lslebodn lslebodn left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you very much for unit tests.

LGTM

@JAVGan

JAVGan commented Aug 27, 2025

Copy link
Copy Markdown
Contributor Author

@rbikar feel free to merge it as I don't have permission to do it

@rbikar
rbikar merged commit 24ca293 into release-engineering:master Aug 27, 2025
6 checks passed
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.

3 participants