From 7b669da36c5f82f51a6e69ae4159fe549ef4ad50 Mon Sep 17 00:00:00 2001 From: Cory LaNou Date: Mon, 5 Jan 2015 21:43:33 -0700 Subject: [PATCH] fixing misc comments --- graphite/graphite.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/graphite/graphite.go b/graphite/graphite.go index d9dc2f25ce..75b9bb64dc 100644 --- a/graphite/graphite.go +++ b/graphite/graphite.go @@ -219,7 +219,7 @@ func (s *Server) Close() error { s.mu.Unlock() - //// Wait for all goroutines to shutdown. + // Wait for all goroutines to shutdown. s.wg.Wait() return nil } @@ -236,11 +236,6 @@ func (s *Server) handleMessage(r *bufio.Reader) error { // Convert metric to a field value. var values = make(map[string]interface{}) values[m.Name] = m.Value - //if m.IsInt { - //values[m.Name] = &m.IntegerValue - //} else { - //values[m.Name] = &m.FloatValue - //} retentionPolicy, err := s.Server.DefaultRetentionPolicy(s.Database)