Commit 11de2523 authored by Matt Baer's avatar Matt Baer

Fix db.Ping() call

parent dad79adf
Pipeline #77 failed with stage
in 3 minutes and 24 seconds
......@@ -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)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment