This is an automated email from the ASF dual-hosted git repository.
wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-goapi.git
The following commit(s) were added to refs/heads/main by this push:
new 965f76f Sync protocol for remove total in event, browser log, and
alarm query. (#42)
965f76f is described below
commit 965f76fbe43785069efda80e46aa98bf74c71eb9
Author: mrproliu <[email protected]>
AuthorDate: Thu May 19 18:28:01 2022 +0800
Sync protocol for remove total in event, browser log, and alarm query. (#42)
---
dependencies.sh | 2 +-
query/schema.go | 7 ++-----
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/dependencies.sh b/dependencies.sh
index 626ff16..4bd3ab1 100644
--- a/dependencies.sh
+++ b/dependencies.sh
@@ -18,7 +18,7 @@
# under the License.
export COLLECT_PROTOCOL_SHA=e89af18cc7be7dc04ec4a7c4ff75f0ae19fa929b
-export QUERY_PROTOCOL_SHA=6f9d1721048a2703b4a0f0a96bee70660b9ff628
+export QUERY_PROTOCOL_SHA=3adb9f68649b1a03fa3fa664192ff4bd7523f18b
export ENVOY_SERVICE_PROTOCOL_SHA=533b32f1b390a3a88ec2008d0561e07c926d879a
export XDS_SERVICE_PROTOCOL_SHA=25de7278fc844d392d607214f36dbedf50f167ee
export PROTOC_VALIDATE_SHA=v0.6.1
diff --git a/query/schema.go b/query/schema.go
index 3f0de37..0f6d95a 100644
--- a/query/schema.go
+++ b/query/schema.go
@@ -27,8 +27,7 @@ type AlarmTrend struct {
}
type Alarms struct {
- Msgs []*AlarmMessage `json:"msgs"`
- Total int `json:"total"`
+ Msgs []*AlarmMessage `json:"msgs"`
}
type Attribute struct {
@@ -75,8 +74,7 @@ type BrowserErrorLogQueryCondition struct {
}
type BrowserErrorLogs struct {
- Logs []*BrowserErrorLog `json:"logs"`
- Total int `json:"total"`
+ Logs []*BrowserErrorLog `json:"logs"`
}
type Bucket struct {
@@ -239,7 +237,6 @@ type EventQueryCondition struct {
type Events struct {
Events []*Event `json:"events"`
- Total int `json:"total"`
}
type HealthStatus struct {