-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
register: only register with custom field if attrs are --include'd
If include is an empty string, strings.Split returns []string{""} so the custom field gets set to an ugly strange value: {"":null} Similarly the attrs field in the AA log gets set to the strange value of [""] Now this is fixed by checking for an empty string first.
- Loading branch information
Showing
1 changed file
with
16 additions
and
14 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