Skip to content

Commit

Permalink
fix wildcard lookup key
Browse files Browse the repository at this point in the history
  • Loading branch information
Mubien Nakhooda committed Aug 23, 2019
1 parent ba08fe4 commit e859b19
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 e859b19

Please sign in to comment.