Merge pull request #2924 from influxdb/fix-vet-errors

Missing parens to call func
pull/2928/head
Cory LaNou 2015-06-11 10:55:26 -05:00
commit ca278a1530
1 changed files with 2 additions and 2 deletions

View File

@ -346,7 +346,7 @@ func (s *Server) startServerReporting() {
func (s *Server) reportServer() {
dis, err := s.MetaStore.Databases()
if err != nil {
log.Printf("failed to retrieve databases for reporting: %s", err.Error)
log.Printf("failed to retrieve databases for reporting: %s", err.Error())
return
}
numDatabases := len(dis)
@ -366,7 +366,7 @@ func (s *Server) reportServer() {
clusterID, err := s.MetaStore.ClusterID()
if err != nil {
log.Printf("failed to retrieve cluster ID for reporting: %s", err.Error)
log.Printf("failed to retrieve cluster ID for reporting: %s", err.Error())
return
}