Fix db.Ping() call

This commit is contained in:
Matt Baer 2018-12-15 14:14:09 -05:00
parent dad79adfd2
commit 11de25237d
1 changed files with 1 additions and 1 deletions

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)
}