Implement review comments

This commit is contained in:
Patrick Pacher
2020-07-17 11:07:46 +02:00
parent 7690793c66
commit 6d69039c20
6 changed files with 49 additions and 47 deletions

View File

@@ -25,7 +25,7 @@ func initiateShutdown(err error) {
}
}
func isShutdown() bool {
func isShuttingDown() bool {
select {
case <-shuttingDown:
return true