Skip to content

Commit 8928a0e

Browse files
committed
Make sure port is stored for pg object
1 parent 80b38d5 commit 8928a0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/postgres/postgres.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ func NewPG(host, user, password string, port uint32, uri_args, default_database,
5555
db: db,
5656
log: logger,
5757
host: host,
58+
port: port,
5859
user: user,
5960
pass: password,
6061
args: uri_args,

0 commit comments

Comments
 (0)