From 2504572cb30d01e6bcb4986632019c233deea9c8 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Tue, 26 Nov 2024 16:06:43 -0800 Subject: [PATCH] fix port --- pkg/datastore/gormstore/db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/datastore/gormstore/db.go b/pkg/datastore/gormstore/db.go index 08c1bc9..48aaa31 100644 --- a/pkg/datastore/gormstore/db.go +++ b/pkg/datastore/gormstore/db.go @@ -15,7 +15,7 @@ func New(ctx *cli.Context) (datastore.Datastore, error) { db, err := gorm.Open( postgres.Open( fmt.Sprintf( - "host=%s user=%s password=%s dbname=%s port=%s", + "host=%s user=%s password=%s dbname=%s port=%d", ctx.String("pg-host"), ctx.String("pg-user"), ctx.String("pg-password"),