diff options
author | Kim Alvefur <zash@zash.se> | 2025-02-22 00:08:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2025-02-22 00:08:18 +0100 |
commit | 5e41daac799c7195fd5885da254cbba13025cca6 (patch) | |
tree | 452ebc0137ca97f54a1b157051d1d965911d9936 /spec/util_envload_spec.lua | |
parent | 9eedb15c6fc760e45316a02cf372b00bb6547f09 (diff) | |
download | prosody-5e41daac799c7195fd5885da254cbba13025cca6.tar.gz prosody-5e41daac799c7195fd5885da254cbba13025cca6.zip |
core.configmanager: Fix reporting delayed warnings from global section
A Credential in the global section would be stored at
delayed_warnings["*/secret"], but get("example.com","secret") would look
for delayed_warnings["example.com/secret"]
Storing the warnings in the config itself has the unfortunate
side-effect that the config now contains util.error objects, which may
be awkward if something bypasses get(). Should rawget() also do this
filtering? getconfig() too?
Currently this only affects prosodyctl, so maybe it won't be much of a
problem.
Diffstat (limited to 'spec/util_envload_spec.lua')
0 files changed, 0 insertions, 0 deletions