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

explicitly pass config path when reading dnf config #131

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

mkisielewski-arista
Copy link
Contributor

This is the first patch in series to reduce the reliance on the global, implic viper object. Making path an argument to the loading function this patch enables us to do a simple dependency injection in tests instead of having to set (and then reset via defer) the value in the global viper object.

This is the first patch in series to reduce the reliance on the global,
implic viper object. Making path an argument to the loading function
this patch enables us to do a simple dependency injection in tests
instead of having to set (and then reset via defer) the value in the
global viper object.
@aajith-arista aajith-arista merged commit b5328a8 into main Oct 30, 2024
2 checks passed
@aajith-arista aajith-arista deleted the explicitly-pass-dnfconfig branch October 30, 2024 11:51
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