File tree 2 files changed +6
-1
lines changed
internal/commands/metrics/aggregation
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ Release Notes.
6
6
------------------
7
7
8
8
### Features
9
+
10
+ ### Bug Fixes
11
+
12
+ * Fix the record list query does not support new OAP versions (with major version number > 9).
13
+
9
14
## What's Changed
10
15
11
16
* Add the sub-command ` menu get ` for get the ui menu items by @mrproliu in https://github.com/apache/skywalking-cli/pull/187
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ $ swctl metrics sampled-record --name top_n_database_statement 5
76
76
}
77
77
78
78
// since 9.3.0, use new record query API
79
- if major >= 9 && minor >= 3 {
79
+ if ( major == 9 && minor >= 3 ) || major > 9 {
80
80
condition , duration , err1 := buildReadRecordsCondition (ctx )
81
81
if err1 != nil {
82
82
return err1
You can’t perform that action at this time.
0 commit comments