Skip to content

Commit

Permalink
remove unused
Browse files Browse the repository at this point in the history
Signed-off-by: okJiang <[email protected]>
  • Loading branch information
okJiang committed Nov 27, 2024
1 parent 35063d5 commit cc4c1d1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions pkg/member/participant.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,9 @@ type Participant struct {
keypath.MsParam
leadership *election.Leadership
// stored as member type
leader atomic.Value
client *clientv3.Client
rootPath string
member participant
leader atomic.Value
client *clientv3.Client
member participant
// memberValue is the serialized string of `member`. It will be saved in the
// leader key when this participant is successfully elected as the leader of
// the group. Every write will use it to check the leadership.
Expand Down

0 comments on commit cc4c1d1

Please sign in to comment.