Fix import of global stats

Use uin32 instead of float64
This commit is contained in:
Julian Kornberger 2016-11-20 19:02:03 +01:00
parent 2068d2b1a1
commit 55991260b0
1 changed files with 2 additions and 2 deletions

View File

@ -86,8 +86,8 @@ func importRRD(path string) {
database.MeasurementGlobal, database.MeasurementGlobal,
nil, nil,
map[string]interface{}{ map[string]interface{}{
"nodes": ds.Nodes, "nodes": uint32(ds.Nodes),
"clients.total": ds.Clients, "clients.total": uint32(ds.Clients),
}, },
ds.Time, ds.Time,
) )