Skip to content

Commit

Permalink
Fix not throw error when part of expression not matched any expressio…
Browse files Browse the repository at this point in the history
…n node in the `MQE` and `PromQL. (#12093)
  • Loading branch information
wankai123 authored Apr 11, 2024
1 parent f97fd4f commit 13bb3f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/en/changes/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
* Bump up Kafka to fix CVE.
* Fix `NullPointerException` in Istio ServiceEntry registry.
* Remove unnecessary `componentIds` as series ID in the `ServiceRelationClientSideMetrics` and `ServiceRelationServerSideMetrics` entities.
* Fix not throw error when part of expression not matched any expression node in the `MQE` and `PromQL.

#### UI

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parser grammar MQEParser;

options { tokenVocab = MQELexer; }

root: expression;
root: expression EOF;

expression
: expressionNode # exprNode
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ parser grammar PromQLParser;

options { tokenVocab = PromQLLexer; }

root: expression;
root: expression EOF;

expression
: expressionNode # exprNode
Expand Down

0 comments on commit 13bb3f6

Please sign in to comment.