Skip to content

Commit

Permalink
fix printf error
Browse files Browse the repository at this point in the history
  • Loading branch information
giantimi committed Jan 10, 2024
1 parent 91317bf commit b7a0dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exec/TXG.hs
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ esPostReq esConf version start end rks = do

mkElasticSearchRequest :: MonadIO m => MonadThrow m => ElasticSearchConfig -> ChainwebVersion -> Int64 -> Int64 -> RequestKeys -> m HTTP.Request
mkElasticSearchRequest esConf version start end rks = do
req <- HTTP.parseUrlThrow $ printf "%s:%d" (T.unpack $ hostnameToText $ esHost esConf) (show $ esPort esConf)
req <- HTTP.parseUrlThrow $ printf "%s:%s" (T.unpack $ hostnameToText $ esHost esConf) (show $ esPort esConf)
currentTime <- liftIO $ getCurrentTimeInt64
return req
{ HTTP.method = "POST"
Expand Down

0 comments on commit b7a0dda

Please sign in to comment.