winterhazel commented on PR #10892:
URL: https://github.com/apache/cloudstack/pull/10892#issuecomment-4875718262

   > if we call valueinscope() method, will it work @shwstppr ?
   
   @harikrishna-patnala @shwstppr  it will not. The issue being addressed here 
is that this code is also executed by the Usage server, and the Usage server is 
unable to obtain configurations using `<key>.value()`/`<key>.valueIn(...)` 
because the `ConfigDepotImpl` bean is not instantiated for it (hence, `s_depot` 
is null in `ConfigKey` and the default value is always returned).
   
   I will investigate how feasible it is to just inject this bean instead 
before marking it as ready.


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