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

Add HostType, change status to always succeed #244

Merged
merged 1 commit into from
Jan 2, 2024

Commits on Dec 20, 2023

  1. Add HostType, change status to always succeed

    Closes: containers#242
    
    Basically it'd be useful for folks to be able to run `bootc status --json`
    and have that always work - if we're not on a bootc-booted system
    then we just output null data.
    
    Specifically we drop the `isContainer` field and replace it
    with an optional non-exhaustive enumeration.  For anything we don't
    know about we just output `None` i.e. `null` in JSON.
    
    Signed-off-by: Colin Walters <walters@verbum.org>
    cgwalters committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    69a7f37 View commit details
    Browse the repository at this point in the history