提交 6fab04f4 编写于 作者: H Helin Wang

fix vet shadow report

上级 54eac40f
......@@ -72,9 +72,9 @@ func main() {
shutdown := func() {
log.Infoln("shutting down gracefully")
err := e.Shutdown()
if err != nil {
log.Errorln(err)
sErr := e.Shutdown()
if sErr != nil {
log.Errorln(sErr)
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册