We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27b40cd commit b65263cCopy full SHA for b65263c
rootfs/etc/nginx/lua/balancer.lua
@@ -253,6 +253,8 @@ local function get_alternative_or_original_balancer(balancer)
253
elseif err then
254
ngx.log(ngx.ERR, "error when matching canary-by-header-pattern: '",
255
traffic_shaping_policy.headerPattern, "', error: ", err)
256
+ -- if headerPattern is broken, we remove this alternative_backend from further processing
257
+ table.insert(never_id_list, i)
258
end
259
-- If header was specified, but headerValue or headerPattern was not, check the value of header by "always"/"never"
260
elseif header == "always" then
0 commit comments