fix: remove unnecessary use of fmt.Sprintf

This commit is contained in:
2026-01-23 20:28:11 +07:00
parent e796ab5328
commit 8b84373036
+1 -1
View File
@@ -126,7 +126,7 @@ func (s *session) Start() error {
}
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 {