mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-19 11:20:45 +00:00
Fix typo in comment about service shutdown
This commit is contained in:
parent
0cba803fba
commit
5c6cefa71e
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ func TestLifecycleTerminationGuarantee(t *testing.T) {
|
||||||
stack.RegisterLifecycle(lifecycle)
|
stack.RegisterLifecycle(lifecycle)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Register a service that fails to shot down cleanly
|
// Register a service that fails to shut down cleanly
|
||||||
failure := errors.New("fail")
|
failure := errors.New("fail")
|
||||||
failer := &InstrumentedService{stop: failure}
|
failer := &InstrumentedService{stop: failure}
|
||||||
stack.RegisterLifecycle(failer)
|
stack.RegisterLifecycle(failer)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue