mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-14 14:52:58 +02:00
Add Flush method to sink interface
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user