Skip to content

Commit

Permalink
Fix database path check
Browse files Browse the repository at this point in the history
  • Loading branch information
rkfg committed Dec 20, 2020
1 parent 12fedef commit 403c0b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ func loadConfigFilename(filename string) error {
if config.Token == "" {
return fmt.Errorf("specify token in config.json")
}
if config.LevelDBPath == "" {
return fmt.Errorf("specify database_path in config.json")
if config.BoltDBPath == "" {
return fmt.Errorf("specify bdb_database_path in config.json")
}
return nil
}

0 comments on commit 403c0b1

Please sign in to comment.