refactor error message

This commit is contained in:
UlricQin 2020-05-13 18:17:30 +08:00
parent fbb11de178
commit 29f7044695
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
}