aboutsummaryrefslogtreecommitdiffstats
path: root/custom.d.ts
diff options
context:
space:
mode:
authorJosh Richards <josh.t.richards@gmail.com>2024-06-26 09:31:44 -0400
committerJosh <josh.t.richards@gmail.com>2024-07-08 16:41:58 -0400
commit62192ca57a01a11a12f7bc46140c455ab9742166 (patch)
tree1628a8cbb20ffc4b8409079aa35b7846f3077a87 /custom.d.ts
parent7b60b989b0382134232d8c223dfece8410267a37 (diff)
downloadnextcloud-server-62192ca57a01a11a12f7bc46140c455ab9742166.tar.gz
nextcloud-server-62192ca57a01a11a12f7bc46140c455ab9742166.zip
fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in the output of `occ config:list system` nor `occ config:system:get xxx`. This was creating nearly impossible to diagnose configuration/ behavior disprepancies. - Refactored readData() so that we aren't saving the entire environment in the envCache anymore (only those prefixed "NC_") and so that we save NC_ provided config values under their real key. - Refactored getValue() to accommodate readData() refactor - Fixed getKeys() to properly return envCache keys too Environment provided config variables now appear in `occ config:list system` as expected. Environment provided config variables now appear when queried via `occ config:system:get KEY` envCache is now free of non-NC stuff. Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Diffstat (limited to 'custom.d.ts')
0 files changed, 0 insertions, 0 deletions