mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: implement method ForgetLeader for struct nodeRecorder
Signed-off-by: Benjamin Wang <wachao@vmware.com>
This commit is contained in:
parent
ae60b5567a
commit
34382006db
@ -1832,6 +1832,10 @@ func (n *nodeRecorder) Compact(index uint64, nodes []uint64, d []byte) {
|
||||
n.Record(testutil.Action{Name: "Compact"})
|
||||
}
|
||||
|
||||
func (n *nodeRecorder) ForgetLeader(ctx context.Context) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
type nodeProposalBlockerRecorder struct {
|
||||
nodeRecorder
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user