mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 14:20:55 +03:00
fix MySQL provider initialization
this not caused any issue since the queries are basically the same
This commit is contained in:
@@ -100,7 +100,7 @@ func Initialize(cnf Config, basePath string) error {
|
||||
provider = PGSQLProvider{}
|
||||
return initializePGSQLProvider()
|
||||
} else if config.Driver == MySQLDataProviderName {
|
||||
provider = SQLiteProvider{}
|
||||
provider = MySQLProvider{}
|
||||
return initializeMySQLProvider()
|
||||
}
|
||||
return fmt.Errorf("Unsupported data provider: %v", config.Driver)
|
||||
|
||||
Reference in New Issue
Block a user