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

Use raw image format by default for block devices #4042

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

Conversation

pevogam
Copy link
Contributor

@pevogam pevogam commented Dec 28, 2024

Not providing a default behavior leads to use of variable without a value and thus cryptic errors regarding the simple fact that we have to provide an image format. It is also not recommended in any conditionals as it leads to undefined behaviors. Finally, in the case of multiple images we may have "image_format=" to use empty string which should be handled similarly to None (lack of any image_format parameter) or generally as the comment suggests to a meaningful default behavior.

@pevogam pevogam force-pushed the default-image-format branch from 69c6dfc to d4f00fb Compare December 28, 2024 05:05
@pevogam
Copy link
Contributor Author

pevogam commented Dec 28, 2024

@luckyh @YongxueHong I hope this is an improvement, it definitely helped us.

Not providing a default behavior leads to use of variable without
a value and thus cryptic errors regarding the simple fact that we
have to provide an image format. It is also not recommended in any
conditionals as it leads to undefined behaviors. Finally, in the
case of multiple images we may have "image_format=" to use empty
string which should be handled similarly to None (lack of any
image_format parameter) or generally as the comment suggests to
a meaningful default behavior.

Signed-off-by: Plamen Dimitrov <[email protected]>
@pevogam pevogam force-pushed the default-image-format branch from d4f00fb to 45a1e2b Compare January 3, 2025 06:31
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.

2 participants