Fix db.Ping() call

This commit is contained in:
Matt Baer 2018-12-15 14:14:09 -05:00
parent dad79adfd2
commit 11de25237d

2
app.go
View file

@ -414,7 +414,7 @@ func Serve() {
defer shutdown(app)
// Test database connection
err = db.Ping()
err = app.db.Ping()
if err != nil {
log.Error("Database ping failed: %s", err)
}