on master help sign in
Use correct server format in katip-elasticsearch examples
commit706a2b46cfeba067bb8974c51ff100f56827ce99 authorMichael Xavier <michael@michaelxavier.net> dateFri 9 Mar 2018, 08:41 (9 years ago) parentf418eb3
2 files changed+2−2
katip-elasticsearch/examples/example.hs+1−1 katip-elasticsearch/src/Katip/Scribes/ElasticSearch.hs+1−1
katip-elasticsearch/examples/example.hs+1−1
@@ -17,7 +17,7 @@ import Katip.Scribes.ElasticSearch
1717main :: IO ()
1818main = do
1919 mgr <- newManager defaultManagerSettings
20− let bhe = mkBHEnv (Server "localhost") mgr
20+ let bhe = mkBHEnv (Server "http://localhost:9200") mgr
2121 esScribe <- mkEsScribe
2222 -- Reasonable for production
2323 defaultEsScribeCfgV5
katip-elasticsearch/src/Katip/Scribes/ElasticSearch.hs+1−1
@@ -17,7 +17,7 @@
1717-- main :: IO ()
1818-- main = do
1919-- mgr <- newManager defaultManagerSettings
20−-- let bhe = mkBHEnv (Server "localhost") mgr
20+-- let bhe = mkBHEnv (Server "http://localhost:9200") mgr
2121-- esScribe <- mkEsScribe
2222-- -- Reasonable for production
2323-- defaultEsScribeCfgV5