From 4f488ae7ef25aee651c63ba2c1c09709ae24ad9c Mon Sep 17 00:00:00 2001 From: sagitchu Date: Wed, 22 Apr 2026 11:32:49 +0800 Subject: [PATCH] fix(backend): properly implement tunnel_%d cleanup that was lost during revert --- go-backend/internal/http/handler/mutations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go-backend/internal/http/handler/mutations.go b/go-backend/internal/http/handler/mutations.go index 075f108..2d4de2e 100644 --- a/go-backend/internal/http/handler/mutations.go +++ b/go-backend/internal/http/handler/mutations.go @@ -3564,7 +3564,7 @@ func buildTunnelChainServiceConfig(tunnelID int64, chainNode tunnelRuntimeNode, handlerCfg["retries"] = nextHopCandidateCount - 1 } service := map[string]interface{}{ - "name": fmt.Sprintf("%d_%s", tunnelID, protocol), + "name": fmt.Sprintf("tunnel_%d", tunnelID), "addr": processServerAddress(fmt.Sprintf("%s:%d", defaultString(strings.TrimSpace(chainNode.ConnectIP), node.TCPListenAddr), chainNode.Port)), "handler": handlerCfg, "listener": buildTunnelListenerConfig(protocol),