Merge pull request #51 from alesvaupotic/master

WriteConfig should be SetConfig
This commit is contained in:
Josh Baker 2019-11-15 13:39:57 -07:00 committed by GitHub
commit 5a505994ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -576,7 +576,7 @@ var config buntdb.Config
if err := db.ReadConfig(&config); err != nil{
log.Fatal(err)
}
if err := db.WriteConfig(config); err != nil{
if err := db.SetConfig(config); err != nil{
log.Fatal(err)
}
```