Fix linter configuration

This commit is contained in:
世界
2024-12-29 18:39:22 +08:00
parent bc2e3960e4
commit 1bc27a32c2
9 changed files with 22 additions and 6 deletions

View File

@@ -69,6 +69,7 @@ type utlsConnWrapper struct {
func (c *utlsConnWrapper) ConnectionState() tls.ConnectionState {
state := c.Conn.ConnectionState()
//nolint:staticcheck
return tls.ConnectionState{
Version: state.Version,
HandshakeComplete: state.HandshakeComplete,