app/storage: Enhancement: Set path with member function rather than
directly Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
This commit is contained in:
@@ -27,7 +27,7 @@ func init() {
|
||||
}
|
||||
|
||||
func SetConfigFilePath(path string) {
|
||||
store.Path = path
|
||||
store.SetPath(path)
|
||||
res, err := store.Read()
|
||||
if err != nil {
|
||||
logger.Print("unable to read config")
|
||||
|
Reference in New Issue
Block a user