ing
This commit is contained in:
@@ -87,9 +87,9 @@ func GetHTTPSubMatchers() []osm.Matcher {
|
||||
return HTTPSubMatchers
|
||||
}
|
||||
|
||||
func GetMatcherByKey(key string) osm.Matcher {
|
||||
func GetMatcherByKey(matchCtx *osm.MatchCtx, key string) osm.Matcher {
|
||||
for _, m := range AllMatchers {
|
||||
if m.Key() == key {
|
||||
if m.Key(matchCtx) == key {
|
||||
return m
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user