mirror of
https://github.com/cuigh/swirl
synced 2024-12-28 23:02:02 +00:00
Fix log
This commit is contained in:
parent
934b4234f8
commit
2aa5915a3e
@ -188,7 +188,7 @@ func (b *chartBiz) FetchDatas(key string, names []string, period time.Duration)
|
|||||||
for range charts {
|
for range charts {
|
||||||
d := <-ch
|
d := <-ch
|
||||||
if d.err != nil {
|
if d.err != nil {
|
||||||
log.Get("metric").Error(err)
|
log.Get("metric").Error(d.err)
|
||||||
} else {
|
} else {
|
||||||
ds.Set(d.name, d.data)
|
ds.Set(d.name, d.data)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user