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

config: Ensure config key values are reset to their default #12483

Merged
merged 2 commits into from
Oct 31, 2023

Conversation

monstermunchkin
Copy link
Contributor

@monstermunchkin monstermunchkin commented Oct 30, 2023

When unsetting a config key, the value should be reset correctly to
the default value.

Fixes #12478

When unsetting a config key, the value should be reset correctly to
its default value.

Fixes canonical#12478

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
@monstermunchkin monstermunchkin changed the title config: Ensure bool values are reset to their default config: Ensure config key values are reset to their default Oct 30, 2023
simondeziel
simondeziel previously approved these changes Oct 30, 2023
@simondeziel
Copy link
Member

@monstermunchkin I forgot to ask but I think that's quick an easy to add a test for it as well.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

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

Thanks!

@tomponline tomponline merged commit 4f69ffd into canonical:main Oct 31, 2023
24 of 26 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.

lxc config unset doesn't reset boolean values to their default
3 participants