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

pkg/config: use empty default for db_backend #1692

Merged
merged 1 commit into from
Oct 10, 2023

Commits on Oct 10, 2023

  1. pkg/config: use empty default for db_backend

    Podman should default to sqlite for new installs, however to not break
    upgrades we should detect if a boltdb database exists and use that in
    such case. Now in order to distinguish between an explicitly set
    "sqlite" and "boltdb" and nothing set we use an empty default.
    
    With that podman can know if we really should use the default or if it
    was configured for a db explicitly. The actual detection logic must be
    implemented in podman as we only know the file locations there.
    
    This commit also drops the unused StateType as this was not used at all.
    
    Signed-off-by: Paul Holzinger <pholzing@redhat.com>
    Luap99 committed Oct 10, 2023
    Configuration menu
    Copy the full SHA
    0d2eb88 View commit details
    Browse the repository at this point in the history