未验证 提交 f4864597 编写于 作者: wu-sheng's avatar wu-sheng 提交者: GitHub

Fix an old query compatible bug. (#4714)

上级 e8be6346
......@@ -78,6 +78,7 @@ public class AggregationQuery implements GraphQLQueryResolver {
condition.setScope(Scope.ServiceInstance);
final IDManager.ServiceID.ServiceIDDefinition serviceIDDefinition = IDManager.ServiceID.analysisId(serviceId);
condition.setParentService(serviceIDDefinition.getName());
condition.setNormal(true);
condition.setOrder(order);
condition.setTopN(topN);
List<TopNEntity> list = new ArrayList<>();
......@@ -110,6 +111,7 @@ public class AggregationQuery implements GraphQLQueryResolver {
condition.setScope(Scope.Endpoint);
final IDManager.ServiceID.ServiceIDDefinition serviceIDDefinition = IDManager.ServiceID.analysisId(serviceId);
condition.setParentService(serviceIDDefinition.getName());
condition.setNormal(true);
condition.setOrder(order);
condition.setTopN(topN);
List<TopNEntity> list = new ArrayList<>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册