From 3c865fd8ffffe07a5cdbc9e945107b83266f29cb Mon Sep 17 00:00:00 2001 From: Adhityaa Chandrasekar Date: Tue, 24 Jul 2018 12:14:25 +0530 Subject: [PATCH] api: rename setupSigintCleanup --- api/main.go | 2 +- api/sigint.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/main.go b/api/main.go index 8030752..79e98a5 100644 --- a/api/main.go +++ b/api/main.go @@ -9,7 +9,7 @@ func main() { exitIfError(smtpTemplatesLoad()) exitIfError(oauthConfigure()) exitIfError(markdownRendererCreate()) - exitIfError(setupSigintCleanup()) + exitIfError(sigintCleanupSetup()) exitIfError(serveRoutes()) } diff --git a/api/sigint.go b/api/sigint.go index 5b91edf..64b8e29 100644 --- a/api/sigint.go +++ b/api/sigint.go @@ -11,7 +11,7 @@ func sigintCleanup() int { return 0 } -func setupSigintCleanup() error { +func sigintCleanupSetup() error { logger.Infof("setting up SIGINT cleanup") c := make(chan os.Signal)