Explorar o código

etcdserver: fix typo in "adjustTicks"

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee %!s(int64=8) %!d(string=hai) anos
pai
achega
03cf9c45f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      etcdserver/server.go

+ 1 - 1
etcdserver/server.go

@@ -562,7 +562,7 @@ func (s *EtcdServer) adjustTicks() {
 			// multi-node received peer connection reports
 			// adjust ticks, in case slow leader message receive
 			ticks := s.Cfg.ElectionTicks - 2
-			plog.Infof("%s initialzed peer connection; fast-forwarding %d ticks (election ticks %d) with %d active peer(s)", s.ID(), ticks, s.Cfg.ElectionTicks, peerN)
+			plog.Infof("%s initialized peer connection; fast-forwarding %d ticks (election ticks %d) with %d active peer(s)", s.ID(), ticks, s.Cfg.ElectionTicks, peerN)
 			s.r.advanceTicks(ticks)
 			return
 		}