Fix: `!=` is not supported in oal when parameters are numbers (#6968)
This commit is contained in:
parent
47b46f93ca
commit
e7d6b5457b
|
|
@ -43,6 +43,7 @@ Release Notes.
|
|||
* Allow multiple definitions as fallback in metadata-service-mapping.yaml file.
|
||||
* Fix: NPE when configmap has no data.
|
||||
* Fix: Dynamic Configuration key `slowTraceSegmentThreshold` not work
|
||||
* Fix: `!=` is not supported in oal when parameters are numbers.
|
||||
|
||||
#### UI
|
||||
* Add logo for kong plugin.
|
||||
|
|
|
|||
|
|
@ -23,6 +23,11 @@ import org.apache.skywalking.oap.server.core.analysis.metrics.annotation.FilterM
|
|||
|
||||
@FilterMatcher
|
||||
public class NotEqualMatch {
|
||||
|
||||
public boolean match(int left, int right) {
|
||||
return left != right;
|
||||
}
|
||||
|
||||
public boolean match(Object left, Object right) {
|
||||
return !Objects.equals(left, right);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue