4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-01-14 03:16:27 +00:00
This commit is contained in:
Neil Alexander 2020-01-09 17:09:17 +00:00
parent 714959126b
commit ee8e167844

View File

@ -42,6 +42,6 @@ func NewDatabase(dataSourceName string) (Database, error) {
case "postgres": case "postgres":
return postgres.NewDatabase(dataSourceName) return postgres.NewDatabase(dataSourceName)
default: default:
return errors.New("unknown schema") return nil, errors.New("unknown schema")
} }
} }