From c2f32abe5ce9d01ff01c49d6af6625d4a6b30d8d Mon Sep 17 00:00:00 2001 From: "nastassia.dailidava" Date: Wed, 7 Feb 2024 14:09:07 +0100 Subject: [PATCH] #564 Implemented adding a header for locality weighted load balancing (fixed filter name) --- .../snapshot/resource/listeners/filters/LuaFilterFactory.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/LuaFilterFactory.kt b/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/LuaFilterFactory.kt index d6191d429..3e8d217d4 100644 --- a/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/LuaFilterFactory.kt +++ b/envoy-control-core/src/main/kotlin/pl/allegro/tech/servicemesh/envoycontrol/snapshot/resource/listeners/filters/LuaFilterFactory.kt @@ -46,7 +46,7 @@ class LuaFilterFactory(private val snapshotProperties: SnapshotProperties) { private val ingressCurrentZoneHeaderFilter: HttpFilter = HttpFilter.newBuilder() - .setName("ingress.client.lua") + .setName("ingress.zone.lua") .setTypedConfig(Any.pack(Lua.newBuilder().setInlineCode(ingressCurrentZoneHeaderScript).build())) .build()