Skip to content

Commit

Permalink
Always sort vary spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishforbes committed Dec 6, 2017
1 parent d891812 commit 2474cab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ledge/cache_key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ local function read_vary_spec(redis, root_key)
return nil, err
end

table.sort(res)

return res
end
_M.read_vary_spec = read_vary_spec
Expand Down

0 comments on commit 2474cab

Please sign in to comment.