summaryrefslogtreecommitdiffstats
path: root/contrib/environment-to-ini/environment-to-ini.go
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2021-02-23 14:21:44 -0500
committerGitHub <noreply@github.com>2021-02-23 20:21:44 +0100
commit61f347e3499ef55c57b87e09e92fa44ec127b451 (patch)
treea8e0e1b374a48fb873c63f2a71495a7945b38a98 /contrib/environment-to-ini/environment-to-ini.go
parent428d0edcb08bfb8824780ff91abf93d5932cf9d9 (diff)
downloadgitea-61f347e3499ef55c57b87e09e92fa44ec127b451.tar.gz
gitea-61f347e3499ef55c57b87e09e92fa44ec127b451.zip
Add environment-to-ini to docker image (#14762)
* Add environment-to-app.ini routine * Call environment-to-ini in docker setup scripts * Automatically convert section vars to lower case to match documentation * Remove git patch instructions * Add env variable documentation to Install Docker
Diffstat (limited to 'contrib/environment-to-ini/environment-to-ini.go')
-rw-r--r--contrib/environment-to-ini/environment-to-ini.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/environment-to-ini/environment-to-ini.go b/contrib/environment-to-ini/environment-to-ini.go
index bfba2c3140..74379e26af 100644
--- a/contrib/environment-to-ini/environment-to-ini.go
+++ b/contrib/environment-to-ini/environment-to-ini.go
@@ -224,5 +224,6 @@ func DecodeSectionKey(encoded string) (string, string) {
} else {
key += remaining
}
+ section = strings.ToLower(section)
return section, key
}