Navigation Menu

Skip to content

Commit

Permalink
index-check: simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 30, 2017
1 parent 406b762 commit 1f7bb58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/groonga/client/command-line/groonga-client-index-check.rb
Expand Up @@ -117,14 +117,14 @@ def target_column?(column)
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

Expand Down

0 comments on commit 1f7bb58

Please sign in to comment.