fix: Fix the malfunction of _match_service_ rules in C++ Wasm plugins (#2723)

This commit is contained in:
Kent Dong
2025-08-15 16:47:30 +08:00
committed by GitHub
parent 5822868f87
commit 15edc79fb3

View File

@@ -243,7 +243,7 @@ class RouteRuleMatcher {
std::string route_name;
getValue({"route_name"}, &route_name);
std::string service_name;
getValue({"service_name"}, &service_name);
getValue({"cluster_name"}, &service_name);
std::optional<std::reference_wrapper<PluginConfig>> match_config;
std::optional<std::reference_wrapper<std::unordered_set<std::string>>>
allow_set;