From e2a551d01c891a834268707daa9ef66aa4c40860 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Sat, 12 Mar 2011 22:23:06 +0000 Subject: [PATCH] syntax beautification --- lib/redistat/summary.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/redistat/summary.rb b/lib/redistat/summary.rb index c32bb6c..b9fbb5c 100644 --- a/lib/redistat/summary.rb +++ b/lib/redistat/summary.rb @@ -18,10 +18,10 @@ module Redistat if options[:enable_grouping] stats = inject_group_summaries(stats) - key.groups.each { |k| + key.groups.each do |k| update_key(k, stats, depth_limit, options[:connection_ref]) k.update_index if options[:label_indexing] - } + end else update_key(key, stats, depth_limit, options[:connection_ref]) end