fix some typos

This commit is contained in:
Nicola Murino 2020-11-26 22:18:12 +01:00
parent 224ce5fe81
commit 2142ef20c5
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB
2 changed files with 3 additions and 3 deletions

View file

@ -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:
@ -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.

View file

@ -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,