Fix codespell
This commit is contained in:
@@ -9,7 +9,7 @@ import (
|
|||||||
func (ds *Zabbix) GetHistory(ctx context.Context, items []*Item, timeRange backend.TimeRange) (History, error) {
|
func (ds *Zabbix) GetHistory(ctx context.Context, items []*Item, timeRange backend.TimeRange) (History, error) {
|
||||||
history := History{}
|
history := History{}
|
||||||
// Zabbix stores history in different tables and `history` param required for query. So in one query it's only
|
// Zabbix stores history in different tables and `history` param required for query. So in one query it's only
|
||||||
// possible to get history for items with one type. In order to get history for items with multple types (numeric unsigned and numeric float),
|
// possible to get history for items with one type. In order to get history for items with multiple types (numeric unsigned and numeric float),
|
||||||
// items should be grouped by the `value_type` field.
|
// items should be grouped by the `value_type` field.
|
||||||
groupedItemids := make(map[int][]string, 0)
|
groupedItemids := make(map[int][]string, 0)
|
||||||
for _, item := range items {
|
for _, item := range items {
|
||||||
|
|||||||
Reference in New Issue
Block a user