Skip to content

Commit 3fb411d

Browse files
authored
Fix configuration of Postgres connection string (#2244)
1 parent b7a3bf7 commit 3fb411d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/conduit/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ type Config struct {
5555
Path string `long:"db.badger.path" usage:"path to badger DB"`
5656
}
5757
Postgres struct {
58-
ConnectionString string `long:"db.postgres.connection-string" usage:"postgres connection string, may be a database URL or in PostgreSQL keyword/value format"`
58+
ConnectionString string `long:"db.postgres.connection-string" mapstructure:"connection-string" usage:"postgres connection string, may be a database URL or in PostgreSQL keyword/value format"`
5959
Table string `long:"db.postgres.table" usage:"postgres table in which to store data (will be created if it does not exist)"`
6060
}
6161
SQLite struct {

0 commit comments

Comments
 (0)