mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: fix typo in comment
etcdserver: fix typo in comment
This commit is contained in:
parent
ff71968046
commit
101a2a61ea
@ -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 }
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user