mirror of
https://github.com/cuigh/swirl
synced 2024-12-27 22:32:49 +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 {
|
||||
d := <-ch
|
||||
if d.err != nil {
|
||||
log.Get("metric").Error(err)
|
||||
log.Get("metric").Error(d.err)
|
||||
} else {
|
||||
ds.Set(d.name, d.data)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user