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

fix vet shadow report

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