-
Notifications
You must be signed in to change notification settings - Fork 242
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
Refactoring - improving coverage #371
base: refactoring
Are you sure you want to change the base?
Conversation
* More testing of ReadConfig() and its fallback mechanism * Found that if someone put a '"' double quote into the filename that we configure zap to log to, it would cause the the JSON created to be invalid. I have replaced the JSON string with proper config
…valid value instead of silently failing. added a basic test for api.setupTLS() (to increase test coverage)
Bumping github-actions workflow versions to accommodate some changes in upstream golanci-lint
not sure why the lint is erroring on my use of the |
Yeah, it's a bit messy. Currently sitting in a train, trying to debug and figure it out. The overall plan is to migrate acme-dns to "acme-dns" organization after this refactoring is done. I think I'll just take your branch, bump dependencies and push it there. |
For the golangci-lint error about the output format the solution was to bump the version of the github action, as the previous one was old. But yeah, the rand one is weird for sure. |
locally I am running |
I have started writing some unit tests to improve coverage of the refactoring.
This PR should bring coverage of the
acmedns
package up to 100%