aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/storage/db.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/storage/db.go b/internal/storage/db.go
index 25db283..9032dc3 100644
--- a/internal/storage/db.go
+++ b/internal/storage/db.go
@@ -12,8 +12,8 @@ import (
// and connection information.
//
// Note that only "postgres" is supported as the driver right now.
-func DBConnect(driver string, connectionInfo string) (*sql.DB, error) {
- db, err := sql.Open(driver, connectionInfo)
+func DBConnect(driver string, connectionParams string) (*sql.DB, error) {
+ db, err := sql.Open(driver, connectionParams)
if err != nil {
return nil, err
}