You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by as...@apache.org on 2025/08/25 04:27:21 UTC
(apisix-ingress-controller) branch Revolyssup-patch-1 created (now 34ed6a4f)
This is an automated email from the ASF dual-hosted git repository.
ashishtiwari pushed a change to branch Revolyssup-patch-1
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
at 34ed6a4f chore: remove redundant backend traffic policy attachment
This branch includes the following new commits:
new 34ed6a4f chore: remove redundant backend traffic policy attachment
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(apisix-ingress-controller) 01/01: chore: remove redundant backend traffic policy attachment
Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ashishtiwari pushed a commit to branch Revolyssup-patch-1
in repository https://gitbox.apache.org/repos/asf/apisix-ingress-controller.git
commit 34ed6a4f134571a2b2bb4887015be4ee50bcdce0
Author: Ashish Tiwari <as...@gmail.com>
AuthorDate: Mon Aug 25 09:57:18 2025 +0530
chore: remove redundant backend traffic policy attachment
Removed unnecessary call to attachBackendTrafficPolicyToUpstream with nil.
---
internal/adc/translator/httproute.go | 1 -
1 file changed, 1 deletion(-)
diff --git a/internal/adc/translator/httproute.go b/internal/adc/translator/httproute.go
index 8506bc8d..10bcd951 100644
--- a/internal/adc/translator/httproute.go
+++ b/internal/adc/translator/httproute.go
@@ -481,7 +481,6 @@ func (t *Translator) TranslateHTTPRoute(tctx *provider.TranslateContext, httpRou
t.AttachBackendTrafficPolicyToUpstream(backend.BackendRef, tctx.BackendTrafficPolicies, upstream)
upstream.Nodes = append(upstream.Nodes, upNodes...)
}
- t.attachBackendTrafficPolicyToUpstream(nil, upstream)
// todo: support multiple backends
service := adctypes.NewDefaultService()