mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-08-14 22:53:01 +02:00
Add Flush method to sink interface
This commit is contained in:
@@ -79,6 +79,10 @@ func (s *NatsSink) Write(point lp.MutableMetric) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *NatsSink) Flush() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *NatsSink) Close() {
|
||||
log.Print("Closing Nats connection")
|
||||
if s.client != nil {
|
||||
|
Reference in New Issue
Block a user