From 51a7ac590ed8044f1897178d0b20909023587e39 Mon Sep 17 00:00:00 2001 From: LordMathis Date: Sun, 19 Oct 2025 18:55:56 +0200 Subject: [PATCH] Fix preventing local proxy usage for remote instances --- pkg/instance/proxy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/instance/proxy.go b/pkg/instance/proxy.go index 26990f9..a429889 100644 --- a/pkg/instance/proxy.go +++ b/pkg/instance/proxy.go @@ -62,7 +62,7 @@ func (p *proxy) build() (*httputil.ReverseProxy, error) { } // Remote instances should not use local proxy - they are handled by RemoteInstanceProxy - if len(options.Nodes) > 0 { + if _, isLocal := options.Nodes[p.instance.localNodeName]; !isLocal { return nil, fmt.Errorf("instance %s is a remote instance and should not use local proxy", p.instance.Name) }