Skip to content

Return the new configuration on require('config'):get() in the role. #9649

Closed
@ImeevMA

Description

@ImeevMA

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.

Metadata

Metadata

Assignees

Labels

3.0Target is 3.0 and all newer release/master branchesbugSomething isn't workingconfig

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions