Skip to content

Commit

Permalink
fix conflict
Browse files Browse the repository at this point in the history
Signed-off-by: nolouch <[email protected]>
  • Loading branch information
nolouch committed May 24, 2023
1 parent 0854d40 commit fd87b5a
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 441 deletions.
369 changes: 0 additions & 369 deletions pkg/member/participant.go

This file was deleted.

2 changes: 1 addition & 1 deletion server/member/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (m *Member) GetLeadership() *election.Leadership {
}

// GetLastLeaderUpdatedTime returns the last time when the leader is updated.
func (m *EmbeddedEtcdMember) GetLastLeaderUpdatedTime() time.Time {
func (m *Member) GetLastLeaderUpdatedTime() time.Time {
lastLeaderUpdatedTime := m.lastLeaderUpdatedTime.Load()
if lastLeaderUpdatedTime == nil {
return time.Time{}
Expand Down
Loading

0 comments on commit fd87b5a

Please sign in to comment.