diff options
author | Colin Arnott <carnott@snapchat.com> | 2019-10-15 15:45:39 +0000 |
---|---|---|
committer | zeripath <art27@cantab.net> | 2019-10-15 16:45:39 +0100 |
commit | 80655026d2cc8e56223be546a5ed46634eafa059 (patch) | |
tree | 3c21a1cdd25b0cafba0d82a243b876ea65a9c3cb /vendor/gopkg.in/ini.v1/file.go | |
parent | 9b9b67cd3191099724b2d22661ee9c1872f8aaa1 (diff) | |
download | gitea-80655026d2cc8e56223be546a5ed46634eafa059.tar.gz gitea-80655026d2cc8e56223be546a5ed46634eafa059.zip |
upgrade gopkg.in/ini.v1 (#8500)
ini released v1.48.0 and deprecated the ini.AllCapsUnderscore symbol, as
such, during the upgrade we migrated to using ini.SnackCase.
Diffstat (limited to 'vendor/gopkg.in/ini.v1/file.go')
-rw-r--r-- | vendor/gopkg.in/ini.v1/file.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/gopkg.in/ini.v1/file.go b/vendor/gopkg.in/ini.v1/file.go index b38aadd1f8..017b77c8be 100644 --- a/vendor/gopkg.in/ini.v1/file.go +++ b/vendor/gopkg.in/ini.v1/file.go @@ -302,7 +302,7 @@ func (f *File) writeToBuffer(indent string) (*bytes.Buffer, error) { } alignSpaces := bytes.Repeat([]byte(" "), alignLength) - KEY_LIST: + KeyList: for _, kname := range sec.keyList { key := sec.Key(kname) if len(key.Comment) > 0 { @@ -347,7 +347,7 @@ func (f *File) writeToBuffer(indent string) (*bytes.Buffer, error) { if kname != sec.keyList[len(sec.keyList)-1] { buf.WriteString(LineBreak) } - continue KEY_LIST + continue KeyList } // Write out alignment spaces before "=" sign |