Explorar o código

fix(metrics_reporting): adds missing formating varialbe

bergquist %!s(int64=9) %!d(string=hai) anos
pai
achega
65d8403a04
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      pkg/metrics/receiver/graphite.go

+ 1 - 1
pkg/metrics/receiver/graphite.go

@@ -37,7 +37,7 @@ func (this *GraphiteSender) Send(metrics map[string]interface{}) error {
 	_, err = conn.Write(buf.Bytes())
 
 	if err != nil {
-		return fmt.Errorf("Graphite Sender: Failed to send metrics!", err)
+		return fmt.Errorf("Graphite Sender: Failed to send metrics! %s", err)
 	}
 
 	return nil