pkg/cmd/grafana-server/main.go: '_ = <-ch' simplified to '<-ch'

See,
pkg/cmd/grafana-server/main.go:107:8⚠️ '_ = <-ch' can be simplified to '<-ch' (S1005) (megacheck)
This commit is contained in:
Mario Trangoni 2018-09-30 18:43:54 +02:00
parent ec4139d56b
commit 236e0b3814

View File

@ -104,7 +104,7 @@ func listenToSystemSignals(server *GrafanaServerImpl) {
for {
select {
case _ = <-sighupChan:
case <-sighupChan:
log.Reload()
case sig := <-signalChan:
server.Shutdown(fmt.Sprintf("System signal: %s", sig))