-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CP-49944: plugins: Fix multiple file patterns for the same directory
Fix multiple file patterns for the same directory by using a list of directory specifications instead of overwriting the previous one. Ensure that this works as expected by extending the tests accordingly. Details: At least three plugins collect files in /var/log using different file patterns: Auto_Cert_Kit, tapdisk-logs and xcp-rrdd-plugins. After merging CP-41238, only one pattern or directory tree collection was supported: Previous patterns were overwritten by plugins loaded after plugins loaded earlier. Directory tree patterns added by plugins loaded earlier were overwritten by plugins loaded later. As auto-cert-kit is not installed by default, this issue could only be noticed by missing tapdisk logs. Fix this issue to collect logs from tapdisk and auto-cert-kit as expected. Signed-off-by: Bernhard Kaindl <[email protected]>
- Loading branch information
1 parent
1c8d544
commit 3a316bd
Showing
5 changed files
with
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -104,6 +104,7 @@ init | |
initialisation | ||
initialised | ||
initiatorname | ||
inotify | ||
iomem | ||
ioports | ||
iscsi | ||
|
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
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