Skip to content

Commit

Permalink
fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
drakkan committed Nov 26, 2020
1 parent 224ce5f commit 2142ef2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Alternately, you can [build from source](./docs/build-from-source.md).

A full explanation of all configuration methods can be found [here](./docs/full-configuration.md).

Please make sure to [initialize the data provider](#data-provider-initialization) before running the daemon!
Please make sure to [initialize the data provider](#data-provider-initialization-and-management) before running the daemon!

To start SFTPGo with the default settings, simply run:

Expand All @@ -93,7 +93,7 @@ sftpgo serve

Check out [this documentation](./docs/service.md) if you want to run SFTPGo as a service.

### Data provider initialization and update
### Data provider initialization and management

Before starting the SFTPGo server please ensure that the configured data provider is properly initialized/updated.

Expand Down
2 changes: 1 addition & 1 deletion dataprovider/bolt.go
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ func (p BoltProvider) migrateDatabase() error {
case 4:
return updateBoltDatabaseFromV4(p.dbHandle)
default:
if dbVersion.Version > sqlDatabaseVersion {
if dbVersion.Version > boltDatabaseVersion {
providerLog(logger.LevelWarn, "database version %v is newer than the supported: %v", dbVersion.Version,
boltDatabaseVersion)
logger.WarnToConsole("database version %v is newer than the supported: %v", dbVersion.Version,
Expand Down

0 comments on commit 2142ef2

Please sign in to comment.