Removed unused function

Signed-off-by: Derek Collison <derek@nats.io>
This commit is contained in:
Derek Collison
2021-02-18 18:35:44 -08:00
parent afea79610a
commit 9de18dfefe

View File

@@ -1189,11 +1189,6 @@ func (n *raft) error(format string, args ...interface{}) {
n.s.Errorf(nf, args...)
}
func (n *raft) notice(format string, args ...interface{}) {
nf := fmt.Sprintf("RAFT [%s - %s] %s", n.id, n.group, format)
n.s.Noticef(nf, args...)
}
func (n *raft) electTimer() *time.Timer {
n.RLock()
defer n.RUnlock()