mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-24 16:40:26 +00:00
fix MySQL provider initialization
this not caused any issue since the queries are basically the same
This commit is contained in:
parent
0bed768909
commit
645c4b4fa2
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue