Skip to content

Commit

Permalink
Update db/connect.go
Browse files Browse the repository at this point in the history
Co-authored-by: arielshaqed <ariels@treeverse.io>
  • Loading branch information
guy-har and arielshaqed authored Nov 9, 2020
1 parent a7daf1a commit 8a40c2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func Ping(ctx context.Context, pool *pgxpool.Pool) error {
return nil
}

// ConnectDBPool connects to a database using the database params and return dbPool
// ConnectDBPool connects to a database using the database params and returns a connection pool
func ConnectDBPool(p params.Database) (*pgxpool.Pool, error) {
normalizeDBParams(&p)
log := logging.Default().WithFields(logging.Fields{
Expand Down

0 comments on commit 8a40c2b

Please sign in to comment.