Fix comment (#387)

This commit is contained in:
Jack 2022-04-08 14:04:18 +08:00 committed by GitHub
parent 75427f5736
commit c083988b20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ func (en *Engines) Destroy() error {
return nil
}
// CreateDB creates a new Badger DB on disk at subPath.
// CreateDB creates a new Badger DB on disk at path.
func CreateDB(path string, raft bool) *badger.DB {
opts := badger.DefaultOptions
if raft {