tzssangglass commented on issue #8117:
URL: https://github.com/apache/apisix/issues/8117#issuecomment-1285525033
> How to get the node information of an existing upstream to add to
up_conf?For example, get the nodes information in my test upstream
"upstream-test-a" and add it to the variable up_conf.
`ctx.matched_upstream`, you can dump ctx by `ngx.log(ngx.WARN, "ctx : ",
require("inspect")(ctx, {depth = 2}))`, and search info in ctx.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]