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

vdk-core: add is_default() function to config #3076

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

DeltaMichael
Copy link
Contributor

@DeltaMichael DeltaMichael commented Feb 5, 2024

Why?

There are cases where we want to know we're using the default value for a config option. One such case is configuration presets

#3055

What?

Add is_default() to the config object.

How was this tested?

Unit tests

What kind of change is this?

Feature/non-breaking

@DeltaMichael DeltaMichael force-pushed the person/mdilyan/config-is-default branch 3 times, most recently from 8c69032 to 223b807 Compare February 6, 2024 13:51
Why?

There are cases where we want to know we're using
the default value for a config option. One such
case is configuration presets

#3055

What?

Add is_default() to the config object.

How was this tested?

Unit tests

What kind of change is this?

Feature/non-breaking

Signed-off-by: Dilyan Marinov <mdilyan@vmware.com>
@DeltaMichael DeltaMichael force-pushed the person/mdilyan/config-is-default branch from 223b807 to 0e7073e Compare February 6, 2024 13:59
@DeltaMichael DeltaMichael merged commit b3e7b45 into main Feb 6, 2024
9 checks passed
@DeltaMichael DeltaMichael deleted the person/mdilyan/config-is-default branch February 6, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants