Bläddra i källkod

Fix some spelling errors

Tim Sedlmeyer 6 år sedan
förälder
incheckning
eb18e30a65
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. 2 2
      README.md
  2. 2 2
      dataprovider/sqlite.go

+ 2 - 2
README.md

@@ -7,7 +7,7 @@ Full featured and highly configurable SFTP server software
 
 - Each account is chrooted to his Home Dir
 - SFTP accounts are virtual accounts stored in a "data provider" 
-- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extented to support non SQL backends too
+- SQLite, MySQL and PostgreSQL data providers are supported. The `Provider` interface could be extended to support non SQL backends too
 - Public key and password authentication
 - Quota support: accounts can have individual quota expressed as max number of files and max total size
 - Bandwidth throttling is supported, with distinct settings for upload and download
@@ -199,4 +199,4 @@ Some code was initially taken from [Pterodactyl sftp server](https://github.com/
 
 ## License
 
-GNU GPLv3
+GNU GPLv3

+ 2 - 2
dataprovider/sqlite.go

@@ -21,12 +21,12 @@ func initializeSQLiteProvider(basePath string) error {
 		dbPath := filepath.Join(basePath, config.Name)
 		fi, err := os.Stat(dbPath)
 		if err != nil {
-			logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and inizialiaze"+
+			logger.Warn(logSender, "sqlite database file does not exists, please be sure to create and initialize"+
 				" a database before starting sftpgo")
 			return err
 		}
 		if fi.Size() == 0 {
-			return errors.New("sqlite database file is invalid, please be sure to create and inizialiaze" +
+			return errors.New("sqlite database file is invalid, please be sure to create and initialize" +
 				" a database before starting sftpgo")
 		}
 		connectionString = fmt.Sprintf("file:%v?cache=shared", dbPath)