Return the new configuration on `require('config'):get()` in the role.
ImeevMA opened this issue · 0 comments
ImeevMA commented
Currently, require('config'):get()
throws an error if executed in a role that is applied at config startup. If require('config'):get()
is executed in a role that is applied at config reload, it returns the previous configuration.
The expected behavior is to return the configuration that is currently applied.