From 0ea0e4512d056155398b85a26d30d2776a30dad0 Mon Sep 17 00:00:00 2001 From: Kuzz007 Date: Sat, 1 Aug 2026 22:36:28 +0300 Subject: [PATCH] fix: update inbound_amneziawg.go to the split buildInboundForLocalRuntime Fork-only file, invisible to upstream's own rename of buildRuntimeInboundForAPI into buildInboundForNodePush / buildInboundForLocalRuntime (part of the node-sync client-deletion fix). Every other call site was migrated by that commit; this was the one straggler, caught by CI after the 3.6.0 sync landed on main. --- internal/web/service/inbound_amneziawg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/web/service/inbound_amneziawg.go b/internal/web/service/inbound_amneziawg.go index 91ad11e31..5f220d8c5 100644 --- a/internal/web/service/inbound_amneziawg.go +++ b/internal/web/service/inbound_amneziawg.go @@ -18,7 +18,7 @@ import ( // should be running: one instance per enabled local AmneziaWG inbound, // serving only the peers of clients that are both enabled in the inbound // settings and not depletion-disabled in client_traffics. That is the same -// effective peer set buildRuntimeInboundForAPI pushes on interactive edits, +// effective peer set buildInboundForLocalRuntime pushes on interactive edits, // so the reconcile job and the push path agree on one fingerprint — see // DesiredMtprotoInstances, which this mirrors exactly. func (s *InboundService) DesiredAmneziaWGInstances() ([]amneziawg.Instance, error) { @@ -96,7 +96,7 @@ func (s *InboundService) applyLocalAmneziaWG(inboundId int) { } payload := inbound if inbound.Enable { - if built, bErr := s.buildRuntimeInboundForAPI(database.GetDB(), inbound); bErr == nil { + if built, bErr := s.buildInboundForLocalRuntime(database.GetDB(), inbound); bErr == nil { payload = built } }