From 04324ae8beb23439e371419994be8d3f7f85027a Mon Sep 17 00:00:00 2001 From: Dmitriy Kunitskiy Date: Mon, 25 Nov 2019 13:39:54 -0800 Subject: [PATCH] Make nullSink a FlushableSink (#86) --- null_sink.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/null_sink.go b/null_sink.go index 36f081c..a4b6b62 100644 --- a/null_sink.go +++ b/null_sink.go @@ -12,3 +12,5 @@ func (s nullSink) FlushCounter(name string, value uint64) {} func (s nullSink) FlushGauge(name string, value uint64) {} func (s nullSink) FlushTimer(name string, value float64) {} + +func (s nullSink) Flush() {}