fix port
This commit is contained in:
parent
1bfec3d35e
commit
2504572cb3
@ -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"),
|
||||
|
Loading…
Reference in New Issue
Block a user