You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/11 07:22:45 UTC

[GitHub] [apisix] gewei2000 opened a new issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

gewei2000 opened a new issue #4215:
URL: https://github.com/apache/apisix/issues/4215


   ### Issue description
   
   how to get upstream_obj in a custom plugin by upstream_id
   
   ### Environment
   
   * apisix version (cmd: `apisix version`):2.5
   * OS (cmd: `uname -a`):centos7
   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] gewei2000 commented on issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
gewei2000 commented on issue #4215:
URL: https://github.com/apache/apisix/issues/4215#issuecomment-838184398


   @spacewander I try this method, but always get nil value


-- 
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:
users@infra.apache.org



[GitHub] [apisix] spacewander closed issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
spacewander closed issue #4215:
URL: https://github.com/apache/apisix/issues/4215


   


-- 
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:
users@infra.apache.org



[GitHub] [apisix] gewei2000 commented on issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
gewei2000 commented on issue #4215:
URL: https://github.com/apache/apisix/issues/4215#issuecomment-838207578


   @spacewander 


-- 
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:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4215:
URL: https://github.com/apache/apisix/issues/4215#issuecomment-837993032


   See https://github.com/apache/apisix/blob/504cd1b0966880101b3e2582cfb1cf65f23a7863/apisix/init.lua#L262-L264


-- 
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:
users@infra.apache.org



[GitHub] [apisix] gewei2000 commented on issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
gewei2000 commented on issue #4215:
URL: https://github.com/apache/apisix/issues/4215#issuecomment-837998728


   > See
   > 
   > https://github.com/apache/apisix/blob/504cd1b0966880101b3e2582cfb1cf65f23a7863/apisix/init.lua#L262-L264
   
   3Q


-- 
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:
users@infra.apache.org



[GitHub] [apisix] spacewander commented on issue #4215: request help: how to get upstream_obj in a plugin by upstream_id

Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #4215:
URL: https://github.com/apache/apisix/issues/4215#issuecomment-838235220


   @gewei2000
   
   You should provide a runnable example.


-- 
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:
users@infra.apache.org