[release-6.6]fix(syslog): normalize syslog severity to lowercase in VRL validation - #3351
Conversation
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jcantrill, vparfonov The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The VRL to_syslog_severity() function is case-sensitive and only accepts lowercase keywords. Causing "Invalid syslog severity value" warnings when users configure capitalized severity keywords like "Informational" or "Critical". Add downcase normalization before the to_syslog_severity() call so case-insensitive keywords are correctly validated without warnings. Fixes: LOG-9609 Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
99e7237 to
76ced51
Compare
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/test images |
|
PR-Agent: could not find a component named |
|
/test ci-index-cluster-logging-operator-bundle |
|
PR-Agent: could not find a component named |
|
/retest-required |
|
@vparfonov: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/lgtm |
3656fb6
into
openshift:release-6.6
Description
/cc @Clee2691
/assign @jcantrill
Links