mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
update golangci-lint version (#4817)
This commit is contained in:
parent
720c09c06b
commit
43cf1688e4
18 changed files with 172 additions and 210 deletions
|
|
@ -325,10 +325,9 @@ func (svr *Service) loopLoginUntilSuccess(maxInterval time.Duration, firstLoginE
|
|||
proxyCfgs := svr.proxyCfgs
|
||||
visitorCfgs := svr.visitorCfgs
|
||||
svr.cfgMu.RUnlock()
|
||||
connEncrypted := true
|
||||
if svr.clientSpec != nil && svr.clientSpec.Type == "ssh-tunnel" {
|
||||
connEncrypted = false
|
||||
}
|
||||
|
||||
connEncrypted := svr.clientSpec == nil || svr.clientSpec.Type != "ssh-tunnel"
|
||||
|
||||
sessionCtx := &SessionContext{
|
||||
Common: svr.common,
|
||||
RunID: svr.runID,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue