Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@chrisohaver
Copy link
Member

@chrisohaver chrisohaver commented Sep 19, 2023

1. Why is this pull request needed and what does it do?

Log a warning when auto is unable to read elements of its directory tree. Displaying a warning message will help with troubleshooting directory/file permission issues. Currently, no message is logged when the configured directory, or elements within are not listable/readable.

2. Which issues (if any) are related?

closes #6318

3. Which documentation changes (if any) need to be made?

4. Does this introduce a backward incompatible change or deprecation?

@chrisohaver
Copy link
Member Author

I'm hoping there does not exist a valid use case where this warning would be too spammy.

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Merging #6333 (dcc9a03) into master (93c57b6) will increase coverage by 2.79%.
Report is 1046 commits behind head on master.
The diff coverage is 55.46%.

@@            Coverage Diff             @@
##           master    #6333      +/-   ##
==========================================
+ Coverage   55.70%   58.49%   +2.79%     
==========================================
  Files         224      252      +28     
  Lines       10016    16540    +6524     
==========================================
+ Hits         5579     9675    +4096     
- Misses       3978     6277    +2299     
- Partials      459      588     +129     
Files Changed Coverage Δ
core/dnsserver/config.go 0.00% <ø> (ø)
core/dnsserver/register.go 13.27% <0.00%> (-4.71%) ⬇️
plugin/auto/auto.go 0.00% <0.00%> (ø)
plugin/auto/xfr.go 0.00% <0.00%> (ø)
plugin/auto/zone.go 78.94% <ø> (+0.68%) ⬆️
plugin/autopath/autopath.go 73.61% <ø> (-1.39%) ⬇️
plugin/azure/azure.go 10.61% <0.00%> (-0.57%) ⬇️
plugin/azure/setup.go 56.36% <0.00%> (-4.14%) ⬇️
plugin/backend_lookup.go 0.00% <0.00%> (ø)
plugin/bind/bind.go 50.00% <0.00%> (-50.00%) ⬇️
... and 77 more

... and 170 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@Tantalor93 Tantalor93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

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.

[ERROR] plugin/errors: 2 example.org. A: plugin/auto: no next plugin found

2 participants