mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Fix the format issue
This commit is contained in:
parent
1b700e5ed8
commit
2d2a95c3fb
@ -67,6 +67,7 @@ func (ss *StubServer) Start(sopts []grpc.ServerOption, dopts ...grpc.DialOption)
|
|||||||
// Stop stops ss and cleans up all resources it consumed.
|
// Stop stops ss and cleans up all resources it consumed.
|
||||||
func (ss *StubServer) Stop() {
|
func (ss *StubServer) Stop() {
|
||||||
<-ss.started
|
<-ss.started
|
||||||
|
|
||||||
for i := len(ss.cleanups) - 1; i >= 0; i-- {
|
for i := len(ss.cleanups) - 1; i >= 0; i-- {
|
||||||
ss.cleanups[i]()
|
ss.cleanups[i]()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user