fix: remove unnecessary use of fmt.Sprintf
SonarQube Scan / SonarQube Trigger (push) Successful in 2m34s

This commit is contained in:
2026-01-23 20:28:11 +07:00
parent b7d6f2bae2
commit 90423d675c
+1 -1
View File
@@ -126,7 +126,7 @@ func (s *session) Start() error {
} }
if s.shouldRejectUnauthorized() { if s.shouldRejectUnauthorized() {
return s.denyForwardingRequest(tcpipReq, nil, nil, fmt.Sprintf("headless forwarding only allowed on node mode")) return s.denyForwardingRequest(tcpipReq, nil, nil, "headless forwarding only allowed on node mode")
} }
if err := s.HandleTCPIPForward(tcpipReq); err != nil { if err := s.HandleTCPIPForward(tcpipReq); err != nil {