You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by ke...@apache.org on 2019/12/18 09:11:34 UTC

[skywalking-cli] branch master updated: Fix schema TraceBrief definition bug (#25)

This is an automated email from the ASF dual-hosted git repository.

kezhenxu94 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 5d2b49d  Fix schema TraceBrief definition bug (#25)
5d2b49d is described below

commit 5d2b49dd9ed46a415daf53d40a5c3b3af0c36c80
Author: clk1st <ry...@gmail.com>
AuthorDate: Wed Dec 18 17:11:26 2019 +0800

    Fix schema TraceBrief definition bug (#25)
    
    * fix schema TraceBrief definition bug
    
    * TraceBrief Data rename to Traces
    
    * fix schema TraceBrief definition bug
---
 graphql/schema/schema.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/graphql/schema/schema.go b/graphql/schema/schema.go
index f444591..16eaa64 100644
--- a/graphql/schema/schema.go
+++ b/graphql/schema/schema.go
@@ -247,7 +247,7 @@ type Trace struct {
 }
 
 type TraceBrief struct {
-	Traces []*BasicTrace `json:"traces"`
+	Traces []*BasicTrace `json:"data"`
 	Total  int           `json:"total"`
 }