tzssangglass commented on pull request #4880:
URL: https://github.com/apache/apisix/pull/4880#issuecomment-914116867


   If you want to use environment variables in code, you can use: `os.getenv()`
   
   If you want to use environment variables in test cases, you can
   
   - use `--- main_config` directive , example: 
https://github.com/apache/apisix/blob/d3e104e8e139b1d6fdac29bfb96a3034f71100ef/t/plugin/ext-plugin/sanity.t#L391-L392
   - or define the environment variables in APISIX.pm just as you did
   


-- 
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]


Reply via email to