1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-08-04 21:42:57 +02:00

Renaming ShutdownSignals -> Shutdown (#1553)

This commit is contained in:
Janos Dobronszki
2020-04-21 14:14:20 +02:00
committed by GitHub
parent e5c215556e
commit 075d7d4fef
4 changed files with 5 additions and 4 deletions

View File

@ -404,7 +404,7 @@ func (s *service) Run() error {
ch := make(chan os.Signal, 1)
if s.opts.Signal {
signal.Notify(ch, signalutil.ShutdownSignals()...)
signal.Notify(ch, signalutil.Shutdown()...)
}
select {