Remove global custom config path variables, use get/set methods instead

This commit is contained in:
Harshavardhana committed 2015-07-14 11:56:15 -07:00
1 parent 893782ffab
commit da8b9fd112
8 files changed
+38 -55

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ func (s *MyAPIDonutCacheSuite) SetUpSuite(c *C) {
conf := &donut.Config{}
conf.Version = "0.0.1"
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)