api: rename setupSigintCleanup

This commit is contained in:
Adhityaa Chandrasekar 2018-07-24 12:14:25 +05:30
parent 94f0f68604
commit 3c865fd8ff
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ func main() {
exitIfError(smtpTemplatesLoad()) exitIfError(smtpTemplatesLoad())
exitIfError(oauthConfigure()) exitIfError(oauthConfigure())
exitIfError(markdownRendererCreate()) exitIfError(markdownRendererCreate())
exitIfError(setupSigintCleanup()) exitIfError(sigintCleanupSetup())
exitIfError(serveRoutes()) exitIfError(serveRoutes())
} }

View File

@ -11,7 +11,7 @@ func sigintCleanup() int {
return 0 return 0
} }
func setupSigintCleanup() error { func sigintCleanupSetup() error {
logger.Infof("setting up SIGINT cleanup") logger.Infof("setting up SIGINT cleanup")
c := make(chan os.Signal) c := make(chan os.Signal)