From 10a6cead17445dba35573a1c26d408ff67491cde Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Fri, 14 Apr 2017 16:14:05 -0500 Subject: [PATCH] remove unused methods on StaticNodeSet these used to implement the NodeSet interface, but they've since been removed from NodeSet --- cluster.go | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/cluster.go b/cluster.go index e9c6bb2c1..13f620b88 100644 --- a/cluster.go +++ b/cluster.go @@ -264,18 +264,6 @@ func (s *StaticNodeSet) Open() error { return nil } -func (s *StaticNodeSet) SetMessageHandler(f func(proto.Message) error) { - return -} - -func (s *StaticNodeSet) SetRemoteStateHandler(f func(proto.Message) error) { - return -} - -func (s *StaticNodeSet) SetLocalStateSource(f func() (proto.Message, error)) { - return -} - func (s *StaticNodeSet) SendMessage(pb proto.Message, method string) error { return nil }