-
Notifications
You must be signed in to change notification settings - Fork 76
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
add category to custom log types #634
Conversation
Signed-off-by: Subhobrata Dey <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #634 +/- ##
============================================
- Coverage 25.04% 25.01% -0.04%
Complexity 943 943
============================================
Files 255 255
Lines 11123 11139 +16
Branches 1242 1246 +4
============================================
Hits 2786 2786
- Misses 8086 8102 +16
Partials 251 251
|
@@ -44,6 +57,8 @@ public class CustomLogType implements Writeable, ToXContentObject { | |||
|
|||
private String description; | |||
|
|||
private String category; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not an optional parameter, we need this to have a default value for users upgrading the cluster or this will cause issues for them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a default value for category
field.
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Subhobrata Dey <[email protected]> (cherry picked from commit 5781c85)
Signed-off-by: Subhobrata Dey <[email protected]> (cherry picked from commit 5781c85)
Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: Subhobrata Dey <[email protected]>
Description
add category to custom log types
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.