Skip to content

Commit

Permalink
Merge pull request #15051 from JOJO0527/patch-2
Browse files Browse the repository at this point in the history
etcdserver: fix typo in comment
  • Loading branch information
ptabor authored Dec 28, 2022
2 parents ff71968 + 101a2a6 commit abf80a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/etcdserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

Expand Down

0 comments on commit abf80a8

Please sign in to comment.