You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2019/04/28 09:25:17 UTC
[skywalking] branch alarm-query updated: Fix style
This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch alarm-query
in repository https://gitbox.apache.org/repos/asf/skywalking.git
The following commit(s) were added to refs/heads/alarm-query by this push:
new cfa8f77 Fix style
cfa8f77 is described below
commit cfa8f779878012357020406264fe673cf05c93d6
Author: Wu Sheng <wu...@foxmail.com>
AuthorDate: Sun Apr 28 17:25:10 2019 +0800
Fix style
---
.../org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
index 2bd8094..91689d1 100644
--- a/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
+++ b/oap-server/server-query-plugin/query-graphql-plugin/src/main/java/org/apache/skywalking/oap/query/graphql/resolver/AlarmQuery.java
@@ -55,7 +55,7 @@ public class AlarmQuery implements GraphQLQueryResolver {
long endTimeBucket = DurationUtils.INSTANCE.endTimeDurationToSecondTimeBucket(duration.getStep(), duration.getEnd());
Integer scopeId = null;
- if(scope == null){
+ if (scope == null) {
scopeId = scope.getScopeId();
}