Skip to content

Commit

Permalink
Merge pull request #70 from TrplM/master
Browse files Browse the repository at this point in the history
Fix $wildcard route lookup key
  • Loading branch information
parisk authored Aug 26, 2019
2 parents ba08fe4 + e859b19 commit fe56792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ceryx/nginx/lualib/ceryx/routes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function getTargetForSource(source, redisClient)

-- Construct Redis key for $wildcard
key = getRouteKeyForSource("$wildcard")
target, _ = redisClient:get(wildcardKey)
target, _ = redisClient:get(key)

if targetIsInValid(target) then
return nil
Expand Down

0 comments on commit fe56792

Please sign in to comment.