chore: Remove unneeded debug messages.
Some checks failed
Release code / build (push) Failing after 3m20s

This commit is contained in:
Tera << 8 2025-01-09 07:50:32 -05:00
parent 3429f2cd37
commit ea0a953b0e
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37

View file

@ -266,10 +266,7 @@ func (backend *SSHBackend) StopProxy(command *commonbackend.RemoveProxy) (bool,
backend.arrayPropMutex.Lock()
for proxyIndex, proxy := range backend.proxies {
// Check if memory addresses are equal for the pointer
if command.SourceIP == proxy.SourceIP && command.SourcePort == proxy.SourcePort && command.DestPort == proxy.DestPort && command.Protocol == proxy.Protocol {
log.Debug("found proxy in StopProxy. shutting down listeners")
for _, listener := range proxy.Listeners {
err := listener.Close()