]> source.dussan.org Git - gitea.git/commit
Fix `environment-to-ini` inherited key bug (#27543)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 9 Oct 2023 17:10:37 +0000 (01:10 +0800)
committerGitHub <noreply@github.com>
Mon, 9 Oct 2023 17:10:37 +0000 (01:10 +0800)
commite2e0280108cd0cfa4aaa7a875b2c81f17b1352e1
tree218d26d6906b32b385bdc78cfa53d950cdcf3fe6
parent28ead9ea62de9640b034b8d00c57b88a85a5665b
Fix `environment-to-ini` inherited key bug (#27543)

Fix  #27541

The INI package has a quirk: by default, the keys are inherited.
When maintaining the keys, the newly added sub key should not be
affected by the parent key.
modules/setting/config_env.go
modules/setting/config_env_test.go