From c5f0591e06feffa981bd15ba0ccdd06e27c807fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=99=9F=20Wu=20Sheng?= Date: Thu, 14 May 2020 11:36:32 +0800 Subject: [PATCH] Fix the wrong sortN condition (#4784) --- .../skywalking/oap/server/core/query/input/TopNCondition.java | 2 +- .../query-graphql-plugin/src/main/resources/query-protocol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/TopNCondition.java b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/TopNCondition.java index 69641845e..25d1d7874 100644 --- a/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/TopNCondition.java +++ b/oap-server/server-core/src/main/java/org/apache/skywalking/oap/server/core/query/input/TopNCondition.java @@ -43,7 +43,7 @@ public class TopNCondition { * Normal service is the service having installed agent or metrics reported directly. Unnormal service is * conjectural service, usually detected by the agent. */ - private boolean isNormal; + private boolean normal; /** * Indicate the metrics entity scope. Because this is a top list, don't need to set the Entity like the * MetricsCondition. Only accept scope = {@link Scope#Service} {@link Scope#ServiceInstance} and {@link diff --git a/oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol b/oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol index 9d5bb7c97..459f78b95 160000 --- a/oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol +++ b/oap-server/server-query-plugin/query-graphql-plugin/src/main/resources/query-protocol @@ -1 +1 @@ -Subproject commit 9d5bb7c97a5b653babe157e0360fee6bdf30c045 +Subproject commit 459f78b95168a4d17acae03e892b17bc78f8f4e5