This commit is contained in:
cuigh 2018-07-24 16:51:32 +08:00
parent 934b4234f8
commit 2aa5915a3e

View File

@ -188,7 +188,7 @@ func (b *chartBiz) FetchDatas(key string, names []string, period time.Duration)
for range charts {
d := <-ch
if d.err != nil {
log.Get("metric").Error(err)
log.Get("metric").Error(d.err)
} else {
ds.Set(d.name, d.data)
}