File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
metadata-store-postgres/src/Cardano/Metadata/Store/Postgres
metadata-sync/src/Cardano/Metadata/Sync Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ parseOpts = Opts
23
23
<*> strOption (long " db-user" <> metavar " DB_USER" <> help " User to connect to metadata database with" )
24
24
<*> strOption (long " db-pass" <> metavar " DB_PASS" <> help " Password to connect to metadata database with" )
25
25
<*> strOption (long " db-host" <> metavar " DB_HOST" <> showDefault <> value " /run/postgresql" <> help " Host for the metadata database connection" )
26
- <*> strOption (long " db-port" <> metavar " DB_PORT" <> showDefault <> value 5432 <> help " Port for the metadata database connection" )
26
+ <*> option auto (long " db-port" <> metavar " DB_PORT" <> showDefault <> value 5432 <> help " Port for the metadata database connection" )
27
27
<*> strOption (long " db-table" <> metavar " DB_TABLE" <> showDefault <> value " metadata" <> help " Table in the database to store metadata" )
28
28
<*> option auto (long " db-conns" <> metavar " INT" <> showDefault <> value 1 <> help " Number of connections to open to the database" )
29
29
<*> option auto (short ' p' <> long " port" <> metavar " PORT" <> showDefault <> value 8080 <> help " Port to run the metadata web server on" )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ data Opts = Opts
35
35
{ optDbName :: Text
36
36
, optDbUser :: Text
37
37
, optDbPass :: Text
38
- , optDbHost :: String
38
+ , optDbHost :: Text
39
39
, optDbPort :: Warp. Port
40
40
, optDbMetadataTableName :: Text
41
41
, optDbConnections :: Int
@@ -50,7 +50,7 @@ parseOpts = Opts
50
50
<*> strOption (long " db-user" <> metavar " DB_USER" <> help " User to connect to metadata database with" )
51
51
<*> strOption (long " db-pass" <> metavar " DB_PASS" <> help " Password to connect to metadata database with" )
52
52
<*> strOption (long " db-host" <> metavar " DB_HOST" <> showDefault <> value " /run/postgresql" <> help " Host for the metadata database connection" )
53
- <*> strOption (long " db-port" <> metavar " DB_PORT" <> showDefault <> value 5432 <> help " Port for the metadata database connection" )
53
+ <*> option auto (long " db-port" <> metavar " DB_PORT" <> showDefault <> value 5432 <> help " Port for the metadata database connection" )
54
54
<*> strOption (long " db-table" <> metavar " DB_TABLE" <> showDefault <> value " metadata" <> help " Table in the database to store metadata" )
55
55
<*> option auto (long " db-conns" <> metavar " INT" <> showDefault <> value 1 <> help " Number of connections to open to the database" )
56
56
<*> strOption (long " git-url" <> metavar " GIT_URL" <> help " URL of the metadata registry git repository" )
You can’t perform that action at this time.
0 commit comments