diff --git a/src/main/ruby/hbase/admin.rb b/src/main/ruby/hbase/admin.rb index 965c343363e..9c95d55c4d2 100644 --- a/src/main/ruby/hbase/admin.rb +++ b/src/main/ruby/hbase/admin.rb @@ -97,7 +97,7 @@ module Hbase #---------------------------------------------------------------------------------------------- # Disables a table def disable(table_name) - return unless disabled?(table_name) + return if disabled?(table_name) @admin.disableTable(table_name) end