Merge branch 'master' of github.com:didi/nightingale

This commit is contained in:
710leo 2020-05-14 20:38:22 +08:00
commit fc4fa979af
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ func (m *MetricValue) CheckValidity(now int64) (err error) {
//时间超前5分钟则报错
if m.Timestamp-now > 300 {
err = fmt.Errorf("point timestamp:%d is ahead of now:%d")
err = fmt.Errorf("point timestamp:%d is ahead of now:%d", m.Timestamp, now)
return
}