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

@@ -6,7 +6,7 @@ import (
)
// ShutDownSingals returns all the singals that are being watched for to shut down services.
func ShutdownSignals() []os.Signal {
func Shutdown() []os.Signal {
return []os.Signal{
syscall.SIGTERM, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGKILL,
}