Update for newer API

This commit is contained in:
Evan Phoenix 2015-05-18 11:54:41 -07:00
parent bcb33d880e
commit de9c1f50ea
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ func (a *Agent) crank() error {
} }
acc.Tags = a.Config.Tags acc.Tags = a.Config.Tags
acc.Timestamp = time.Now() acc.Time = time.Now()
acc.Database = a.Config.Database acc.Database = a.Config.Database
_, err := a.conn.Write(acc.BatchPoints) _, err := a.conn.Write(acc.BatchPoints)