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

Also validate that arguments to config functions are struct pointers #81

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

lippserd
Copy link
Member

Previously, the libraries used, i.e. jessevdk/go-flags and creasty/defaults, returned an error if the specified argument was not a struct pointer. We now do this in our validation.

The PR also introduces some minor code quality changes.

Previously, the libraries used, i.e. `jessevdk/go-flags` and
`creasty/defaults`, returned an error if the specified argument was not a
struct pointer. We now do this in our validation.
@cla-bot cla-bot bot added the cla/signed CLA is signed by all contributors of a PR label Oct 23, 2024
@lippserd lippserd requested a review from oxzi October 23, 2024 08:46
@yhabteab yhabteab added the enhancement New feature or request label Oct 23, 2024
@yhabteab yhabteab added this to the 0.4.0 milestone Oct 23, 2024
@yhabteab yhabteab merged commit a82c397 into main Oct 23, 2024
15 checks passed
@yhabteab yhabteab deleted the config-qa branch October 23, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed CLA is signed by all contributors of a PR enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants