We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 739ac25 commit aa19e02Copy full SHA for aa19e02
modules/setting/storage.go
@@ -44,7 +44,7 @@ func getStorage(name, typ string, targetSec *ini.Section) Storage {
44
sec.Key("MINIO_USE_SSL").MustBool(false)
45
46
if targetSec == nil {
47
- targetSec = &ini.Section{}
+ targetSec, _ = Cfg.NewSection(name)
48
}
49
50
var storage Storage
0 commit comments