Add Flush method to sink interface

This commit is contained in:
Lou Knauer
2021-10-12 13:43:58 +02:00
parent dc4b8d13c2
commit cdc1811576
5 changed files with 21 additions and 2 deletions

View File

@@ -4,6 +4,7 @@ import (
"fmt"
"math"
"strings"
// "time"
lp "github.com/influxdata/line-protocol"
)
@@ -54,6 +55,10 @@ func (s *StdoutSink) Write(point lp.MutableMetric) error {
return nil
}
func (s *StdoutSink) Flush() error {
return nil
}
func (s *StdoutSink) Close() {
return
}