lib/redis-stat.rb in redis-stat-0.2.4 vs lib/redis-stat.rb in redis-stat-0.2.5
- old
+ new
@@ -200,10 +200,10 @@
:role,
:connected_slaves,
:aof_enabled,
:vm_enabled
].each do |key|
- tab << [ansi(:bold) { key }] + info[key]
+ tab << [ansi(:bold) { key }] + info[key] if info[key]
end
@os.puts tab
end
def init_table info_output