mirror of
https://github.com/minio/minio.git
synced 2026-11-22 15:13:48 +00:00
Remove global custom config path variables, use get/set methods instead
This commit is contained in:
1 parent
893782ffab
commit
da8b9fd112
8 files changed
+38
-55
No files matched your search
@@ -70,7 +70,7 @@ func (s *MyAPIDonutSuite) SetUpSuite(c *C) {
|
||||
conf.DonutName = "test"
|
||||
conf.NodeDiskMap = createTestNodeDiskMap(root)
|
||||
conf.MaxSize = 100000
|
||||
donut.CustomConfigPath = filepath.Join(root, "donut.json")
|
||||
donut.SetDonutConfigPath(filepath.Join(root, "donut.json"))
|
||||
err = donut.SaveConfig(conf)
|
||||
c.Assert(err, IsNil)
|
||||
|
||||
|
||||
Reference in new issue
Block a user