Skip to content

Commit

Permalink
fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
ykomissarov committed Apr 17, 2019
1 parent 82e3f81 commit fdab36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewDbConnection(config structure.DBConfiguration) (*pg.DB, error) {
var n time.Time
_, err := pdb.QueryOne(pg.Scan(&n), "SELECT now()")
if err == nil {
logger.Infof("Database server time: %d", n)
logger.Infof("Database server time: %s", n)
}

return pdb, err
Expand Down

0 comments on commit fdab36b

Please sign in to comment.