From de9c1f50ea988766b57fba50cf27ef1125db4bdc Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Mon, 18 May 2015 11:54:41 -0700 Subject: [PATCH] Update for newer API --- agent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent.go b/agent.go index f0c5a8296..4b5f77fe6 100644 --- a/agent.go +++ b/agent.go @@ -107,7 +107,7 @@ func (a *Agent) crank() error { } acc.Tags = a.Config.Tags - acc.Timestamp = time.Now() + acc.Time = time.Now() acc.Database = a.Config.Database _, err := a.conn.Write(acc.BatchPoints)