From 861707d651c42ec0e675498365b8c145c4d2c60b Mon Sep 17 00:00:00 2001 From: Evan Phoenix Date: Wed, 20 May 2015 17:11:43 -0700 Subject: [PATCH] Actually write the points --- agent.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/agent.go b/agent.go index dd80adf77..42fe44356 100644 --- a/agent.go +++ b/agent.go @@ -144,9 +144,8 @@ func (a *Agent) crankParallel() error { acc.Points = append(acc.Points, sub.Points...) } - return nil - // _, err := a.conn.Write(acc.BatchPoints) - // return err + _, err := a.conn.Write(acc.BatchPoints) + return err } func (a *Agent) crank() error {