Skip to content

Commit

Permalink
Updated LeaderElectionMock interface
Browse files Browse the repository at this point in the history
  • Loading branch information
thrawn01 committed Aug 1, 2018
1 parent 10669f0 commit f5cc693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etcdutil/election.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {}

0 comments on commit f5cc693

Please sign in to comment.