Skip to content

Conversation

vsoch
Copy link
Member

@vsoch vsoch commented Jan 22, 2022

Right now, when shpc is updated with new config values and the user has a custom setting, you can trigger an error if a needed value is missing. to get around this, we should always load the default settings file first, and then override with custom settings given that the preferred settings are not == the default

Signed-off-by: vsoch vsoch@users.noreply.github.com

vsoch added 3 commits January 22, 2022 12:35
right now, when shpc is updated with new config values and the user has a custom setting,
you can trigger an error if a needed value is missing. to get around this, we should laways
load the default settings file first, and then override with custom settings given that
the preferred settings are not == the default

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch
Copy link
Member Author

vsoch commented Jan 26, 2022

@marcodelapierre do you have some time to review? This is related to #473

@marcodelapierre
Copy link
Contributor

thanks for pinging @vsoch ! should be able to work on SHPC later today

@marcodelapierre
Copy link
Contributor

did a quick test, it works, and it makes complete sense to me!

@vsoch
Copy link
Member Author

vsoch commented Jan 27, 2022

Thank you!

@vsoch vsoch merged commit ad108ad into main Jan 27, 2022
@vsoch vsoch deleted the add/read-central-config branch January 27, 2022 16:17
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