nanamikon commented on a change in pull request #3278:
URL: https://github.com/apache/apisix/pull/3278#discussion_r557068976



##########
File path: apisix/balancer/chash.lua
##########
@@ -38,6 +38,9 @@ local function fetch_chash_hash_key(ctx, upstream)
         chash_key = ctx.var["http_" .. key]
     elseif hash_on == "cookie" then
         chash_key = ctx.var["cookie_" .. key]
+    elseif hash_on == "vars_combinations" then
+        chash_key = core.utils.resolve_var(key, ctx.var);
+        core.log.info("vars_combinations: " .. chash_key)

Review comment:
       @membphis @spacewander I will check the err , and just log the err 
message ,  is it ok?   I think I have nothing to do with it here,  refer to 
other codes using "resolve_var"




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to