From f5cc693d309677d9f58afea7b68e1a73aa74b6ab Mon Sep 17 00:00:00 2001 From: "Derrick J. Wippler" Date: Wed, 1 Aug 2018 13:29:07 -0500 Subject: [PATCH] Updated LeaderElectionMock interface --- etcdutil/election.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etcdutil/election.go b/etcdutil/election.go index 5fd24b50..719646f0 100644 --- a/etcdutil/election.go +++ b/etcdutil/election.go @@ -164,5 +164,5 @@ type LeaderElectionMock struct{} func (s *LeaderElectionMock) IsLeader() bool { return true } func (s *LeaderElectionMock) Concede() bool { return true } -func (s *LeaderElectionMock) Start() {} +func (s *LeaderElectionMock) Start() error { return nil } func (s *LeaderElectionMock) Stop() {}