Upgrade AWS SKD to version v1.13.1
This commit is contained in:
parent
0c0949679f
commit
39eeb67d91
101 changed files with 39395 additions and 10063 deletions
9
vendor/github.com/go-ini/ini/file.go
generated
vendored
9
vendor/github.com/go-ini/ini/file.go
generated
vendored
|
@ -109,7 +109,8 @@ func (f *File) NewSections(names ...string) (err error) {
|
|||
func (f *File) GetSection(name string) (*Section, error) {
|
||||
if len(name) == 0 {
|
||||
name = DEFAULT_SECTION
|
||||
} else if f.options.Insensitive {
|
||||
}
|
||||
if f.options.Insensitive {
|
||||
name = strings.ToLower(name)
|
||||
}
|
||||
|
||||
|
@ -344,6 +345,12 @@ func (f *File) writeToBuffer(indent string) (*bytes.Buffer, error) {
|
|||
return nil, err
|
||||
}
|
||||
}
|
||||
|
||||
for _, val := range key.nestedValues {
|
||||
if _, err := buf.WriteString(indent + " " + val + LineBreak); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if PrettySection {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue