-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix collector_whitelist feature (#284)
* Fix collector_whitelist feature * Fix collector_whitelist feature The previous fix for #279 introduced an error, because result.Path was not always set. Instead of failing on non-existant files, still perform the PathMatch but report them in result.DoesExist. Broken symlinks are always reported as an error, because we cannot resolve their actual path using EvalSymlinks. Add some tests. Fixes #279
- Loading branch information
Marius Sturm
authored
Sep 11, 2018
1 parent
b80ee3c
commit c5a6eda
Showing
2 changed files
with
88 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters