You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2019/12/13 05:53:07 UTC

[GitHub] [skywalking-cli] clk1st opened a new pull request #25: fix schema TraceBrief definition bug

clk1st opened a new pull request #25: fix schema TraceBrief definition bug
URL: https://github.com/apache/skywalking-cli/pull/25
 
 
   skywalking-cli schema TraceBrief definition
   
   I tried adding a query of the trace list information in the cli, and encountered a problem. The structure defined in TraceBrief in schema.go is as follows:
   type TraceBrief struct {
   	Traces []*BasicTrace json:"traces"
   	Total int json:"total"
   }
   
   To query the json returned by the queryTraces interface, you need to modify the Trace Brief to:
   type TraceBrief struct {
   	Data []*BasicTrace json:"data"
   	Total int json:"total"
   }

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services