DEV-000068 support strong postgres credentials
CI / test (push) Successful in 17s
CI / test (pull_request) Successful in 16s

This commit is contained in:
m
2026-08-17 18:58:18 +03:00
parent 926afc82b5
commit 91c38de167
9 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ var (
type CommitRepository struct{ pool *pgxpool.Pool }
func OpenCommit(ctx context.Context, c ContinuityConfig) (*CommitRepository, error) {
p, e := pgxpool.New(ctx, fmt.Sprintf("host=%s port=%s dbname=%s user=%s password=%s", c.Host, c.Port, c.Database, c.User, c.Password))
p, e := openPool(ctx, c)
if e != nil {
return nil, e
}