From 2752e3cf61316ec362aab3b55a428650294bc007 Mon Sep 17 00:00:00 2001 From: Sean Busbey Date: Wed, 8 Apr 2015 15:30:04 -0500 Subject: [PATCH] HBASE-13433 maintain backwards compatibility for get_counter --- hbase-shell/src/main/ruby/shell/commands/get_counter.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb index 6708c6a..1264fe5 100644 --- a/hbase-shell/src/main/ruby/shell/commands/get_counter.rb +++ b/hbase-shell/src/main/ruby/shell/commands/get_counter.rb @@ -36,11 +36,11 @@ t to table 't1', the corresponding command would be: EOF end - def command(table, row, column) + def command(table, row, column, dummy = nil) get_counter(table(table), row, column) end - def get_counter(table, row, column) + def get_counter(table, row, column, dummy = nil) if cnt = table._get_counter_internal(row, column) puts "COUNTER VALUE = #{cnt}" else -- 1.7.10.2 (Apple Git-33)