mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-11 06:05:45 +08:00
GO:Cli fix show user storage display truncation (#16805)
### Summary GO: Cli fix show user storage display truncation
This commit is contained in:
@@ -129,6 +129,9 @@ func (r *CommonDataResponse) SetOutputFormat(format OutputFormat) {
|
||||
func (r *CommonDataResponse) orderedMetricTable() []map[string]interface{} {
|
||||
table := make([]map[string]interface{}, 0)
|
||||
for key, value := range r.Data {
|
||||
if _, ok := value.([]interface{}); ok {
|
||||
continue
|
||||
}
|
||||
table = append(table, map[string]interface{}{
|
||||
"Metric": key,
|
||||
"Value": value,
|
||||
|
||||
Reference in New Issue
Block a user