[Groonga-commit] droonga/drntest at 775794b [master] Use detected value for host

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 17 18:45:42 JST 2014


Kouhei Sutou	2014-04-17 18:45:42 +0900 (Thu, 17 Apr 2014)

  New Revision: 775794b353c97b2958e531329a1eb18a69b9c89a
  https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a

  Message:
    Use detected value for host

  Modified files:
    lib/drntest/engine.rb

  Modified: lib/drntest/engine.rb (+2 -2)
===================================================================
--- lib/drntest/engine.rb    2014-04-10 18:12:19 +0900 (d8d645a)
+++ lib/drntest/engine.rb    2014-04-17 18:45:42 +0900 (0c69a95)
@@ -61,7 +61,7 @@ module Drntest
     def extract_connection_info_catalog_v1(catalog_json)
       zone = catalog_json["zones"].first
       /\A([^:]+):(\d+)\/(.+)\z/ =~ zone
-      @config.host = "localhost" # $1
+      @config.host = $1
       @config.port = $2.to_i
       @config.tag  = $3
     end
@@ -90,7 +90,7 @@ module Drntest
         dataset["replicas"].each do |replica|
           replica["slices"].each do |slice|
             if /\A([^:]+):(\d+)\/([^.]+)/ =~ slice["volume"]["address"]
-              @config.host = "localhost" # $1
+              @config.host = $1
               @config.port = $2.to_i
               @config.tag  = $3
               return
-------------- next part --------------
HTML����������������������������...
Download 



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