From 101a2a61eaa297605c0da3a58c5e612bcea45da6 Mon Sep 17 00:00:00 2001 From: KiloG <33695125+JOJO0527@users.noreply.github.com> Date: Wed, 28 Dec 2022 18:41:08 +0800 Subject: [PATCH] etcdserver: fix typo in comment etcdserver: fix typo in comment --- server/etcdserver/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/etcdserver/server.go b/server/etcdserver/server.go index aee081a0c..9b89008a9 100644 --- a/server/etcdserver/server.go +++ b/server/etcdserver/server.go @@ -1272,11 +1272,11 @@ func (s *EtcdServer) stopWithDelay(d time.Duration, err error) { } } -// StopNotify returns a channel that receives a empty struct +// StopNotify returns a channel that receives an empty struct // when the server is stopped. func (s *EtcdServer) StopNotify() <-chan struct{} { return s.done } -// StoppingNotify returns a channel that receives a empty struct +// StoppingNotify returns a channel that receives an empty struct // when the server is being stopped. func (s *EtcdServer) StoppingNotify() <-chan struct{} { return s.stopping }