[Groonga-commit] ranguba/groonga-client at 1f7bb58 [master] index-check: simplify

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Oct 30 17:52:45 JST 2017


Kouhei Sutou	2017-10-30 17:52:45 +0900 (Mon, 30 Oct 2017)

  New Revision: 1f7bb58422c4f5925810bb678a2d818ea849f63d
  https://github.com/ranguba/groonga-client/commit/1f7bb58422c4f5925810bb678a2d818ea849f63d

  Message:
    index-check: simplify

  Modified files:
    lib/groonga/client/command-line/groonga-client-index-check.rb

  Modified: lib/groonga/client/command-line/groonga-client-index-check.rb (+2 -2)
===================================================================
--- lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-30 17:50:43 +0900 (7eb0933)
+++ lib/groonga/client/command-line/groonga-client-index-check.rb    2017-10-30 17:52:45 +0900 (0cead71)
@@ -117,14 +117,14 @@ module Groonga
               if name.include?(".")
                 name == column.full_name
               else
-                name == column["domain"]
+                name == column.domain
               end
             end
           end
 
           def check_source(column)
             return true unless column.source.empty?
-            $stderr.puts("Source is missing: <#{column.domain}.#{column.name}>")
+            $stderr.puts("Source is missing: <#{column.full_name}>")
             false
           end
 
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171030/b4a5c305/attachment.htm 



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