From 79b5ca1ce64848436c425f93fa4802068abefd9e Mon Sep 17 00:00:00 2001 From: Daniel Nephin Date: Thu, 5 Nov 2020 16:49:59 -0500 Subject: [PATCH] stream: Remove unused method --- agent/consul/stream/event.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent/consul/stream/event.go b/agent/consul/stream/event.go index 09d96ee6db..3621f20472 100644 --- a/agent/consul/stream/event.go +++ b/agent/consul/stream/event.go @@ -82,10 +82,6 @@ func (e PayloadEvents) FilterByKey(_, _ string) bool { return true } -func (e PayloadEvents) Events() []Event { - return e -} - // IsEndOfSnapshot returns true if this is a framing event that indicates the // snapshot has completed. Subsequent events from Subscription.Next will be // streamed as they occur.