修改代码符合 golangci-lint 规则
This commit is contained in:
1 parent
10e7d2c3ee
commit
2c9f9c4f9c
1 file changed
+1
-1
+1
-1
@@ -27,7 +27,7 @@ import (
|
||||
|
||||
func sessionHandler(sess *ssh.Session) {
|
||||
defer func() {
|
||||
(*sess).Close()
|
||||
_ = (*sess).Close()
|
||||
}()
|
||||
|
||||
username := (*sess).User()
|
||||
|
||||
Reference in new issue
Block a user