Fix typos in comments (#3415)

This commit is contained in:
Maximilien Richer
2017-11-01 01:00:06 +01:00
committed by Daniel Nelson
parent 8bd21bb537
commit c569863119
26 changed files with 33 additions and 33 deletions

View File

@@ -84,7 +84,7 @@ func (r *Riemann) Write(metrics []telegraf.Metric) error {
var senderr = r.client.SendMulti(events)
if senderr != nil {
r.Close() // always retuns nil
r.Close() // always returns nil
return fmt.Errorf("FAILED to send riemann message (will try to reconnect). Error: %s\n",
senderr)
}