未验证 提交 e7d6b545 编写于 作者: L liqiangz 提交者: GitHub

Fix: `!=` is not supported in oal when parameters are numbers (#6968)

上级 47b46f93
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册