mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-16 11:04:42 -07:00
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user