<!DOCTYPE html>
<html>
<head>
</head>
<body>
<dl style="line-height: 1.5; margin-left: 2em">
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Author</dt>
<dd style="margin-left: 8.5em">Kouhei Sutou <kou****@clear*****></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Date</dt>
<dd style="margin-left: 8.5em">2014-04-17 18:45:42 +0900 (Thu, 17 Apr 2014)</dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">New Revision</dt>
<dd style="margin-left: 8.5em"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a">775794b353c97b2958e531329a1eb18a69b9c89a</a></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Message</dt>
<dd style="margin-left: 8.5em"><pre style="border: 1px solid #aaa; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; padding: 0.5em; width: auto">Use detected value for host</pre></dd>
<dt style="clear: both; float: left; font-weight: bold; width: 8em">Modified files</dt>
<dd style="margin-left: 8.5em">
<ul>
<li><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#diff-0">lib/drntest/engine.rb</a></li>
</ul>
</dd>
</dl>
<div class="diff-section" style="clear: both">
<table style="border-collapse: collapse; border: 1px solid #aaa">
<thead>
<tr class="diff-header" style="border: 1px solid #aaa">
<td colspan="3">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre"> Modified: lib/drntest/engine.rb (+2 -2)</span>
<span class="diff-header-mark" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">===================================================================</span>
</pre>
</td>
</tr>
</thead>
<tbody>
<tr>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L63">63</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L64">64</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L67">67</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L89">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L92">92</a></span>
<span class="diff-line-number-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L93">93</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0L96">96</a></span>
</pre>
</th>
<th class="diff-line-number" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R60">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R61">61</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R62">62</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R63">63</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R64">64</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R65">65</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R66">66</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R67">67</a></span>
<span class="diff-line-number-hunk-header" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R89">...</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R90">90</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R91">91</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R92">92</a></span>
<span class="diff-line-number-nothing" style="display: block; white-space: pre"> </span>
<span class="diff-line-number-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R93">93</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R94">94</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R95">95</a></span>
<span class="diff-line-number-not-changed" style="display: block; white-space: pre"><a href="https://github.com/droonga/drntest/commit/775794b353c97b2958e531329a1eb18a69b9c89a#L0R96">96</a></span>
</pre>
</th>
<td class="diff-content" style="border: 1px solid #aaa">
<pre style="border: 0; font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; line-height: 1.2; margin: 0; padding: 0.5em; white-space: normal; width: auto"><span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -61,7 +61,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Drntest</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> def extract_connection_info_catalog_v1(catalog_json)</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> zone = catalog_json["zones"].first</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> /\A([^:]+):(\d+)\/(.+)\z/ =~ zone</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- @config.host = "localhost" # $1</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @config.host = $1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @config.port = $2.to_i</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @config.tag = $3</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> end</span>
<span class="diff-hunk-header" style="background-color: #eaf2f5; color: #999999; display: block; white-space: pre">@@ -90,7 +90,7 @@ <span class="diff-context" style="background-color: #ffffaa; color: #000000">module Drntest</span></span>
<span class="diff-not-changed" style="display: block; white-space: pre"> dataset["replicas"].each do |replica|</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> replica["slices"].each do |slice|</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> if /\A([^:]+):(\d+)\/([^.]+)/ =~ slice["volume"]["address"]</span>
<span class="diff-deleted" style="background-color: #ffaaaa; color: #000000; display: block; white-space: pre">- @config.host = "localhost" # $1</span>
<span class="diff-added" style="background-color: #aaffaa; color: #000000; display: block; white-space: pre">+ @config.host = $1</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @config.port = $2.to_i</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> @config.tag = $3</span>
<span class="diff-not-changed" style="display: block; white-space: pre"> return</span>
</pre>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>