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 0cf6e49 commit a901676
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -136,15 +136,13 @@ def check_source(column)
end

def list_tokens(table_name)
keys = []
response = execute_command(:select,
:table => table_name,
:limit => -1,
:output_columns => :_key)
keys = response.records.collect do |record|
response.records.collect do |record|
record["_key"]
end
keys
end

def verify_tokens(table_name, old_column, new_column, tokens)
Expand Down

0 comments on commit a901676

Please sign in to comment.