[Groonga-commit] droonga/droonga-engine at 2d2824a [master] Specify path to catalog.json via "get" method

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Jul 17 16:09:06 JST 2014


YUKI Hiroshi	2014-07-17 16:09:06 +0900 (Thu, 17 Jul 2014)

  New Revision: 2d2824afd6d0f7f5559b9b9bcb551f1f315170c1
  https://github.com/droonga/droonga-engine/commit/2d2824afd6d0f7f5559b9b9bcb551f1f315170c1

  Message:
    Specify path to catalog.json via "get" method

  Modified files:
    lib/droonga/command/serf_event_handler.rb

  Modified: lib/droonga/command/serf_event_handler.rb (+2 -2)
===================================================================
--- lib/droonga/command/serf_event_handler.rb    2014-07-17 15:58:26 +0900 (d505ffe)
+++ lib/droonga/command/serf_event_handler.rb    2014-07-17 16:09:06 +0900 (54ac5d0)
@@ -176,12 +176,12 @@ module Droonga
                         "port" => port)
         sleep(3) # wait until the HTTP server becomes ready
 
-        url = "http://#{source_host}:#{port}/catalog.json"
+        url = "http://#{source_host}:#{port}"
         connection = Faraday.new(url) do |builder|
           builder.response(:follow_redirects)
           builder.adapter(Faraday.default_adapter)
         end
-        response = connection.get
+        response = connection.get("/catalog.json")
         catalog = response.body
 
         Serf.send_query(source_node, "unpublish_catalog",
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index