Sort response by item id

This commit is contained in:
Alexander Zobnin
2021-05-31 18:37:00 +03:00
parent 7276e4ba09
commit 6e6797653e
2 changed files with 20 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ func convertHistoryToTimeSeries(history zabbix.History, items []*zabbix.Item) []
series = append(series, tsd)
}
timeseries.SortByItem(series)
return series
}