Merge pull request #1 from alesvaupotic/alesvaupotic-patch-setconfig

WriteConfig should be SetConfig
This commit is contained in:
Aleš Vaupotič 2019-10-01 19:39:49 +02:00 committed by GitHub
commit 055b17e34e
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)
}
```