summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/couchdb/couch_stats_aggregator.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/couchdb/couch_stats_aggregator.erl b/src/couchdb/couch_stats_aggregator.erl
index 4cdcb4a2..83340c01 100644
--- a/src/couchdb/couch_stats_aggregator.erl
+++ b/src/couchdb/couch_stats_aggregator.erl
@@ -260,7 +260,6 @@ aggregate_to_json_term(#aggregates{min=Min,max=Max,mean=Mean,stddev=Stddev,count
{min, Min},
{max, Max},
{stddev, Stddev},
- {resolution, 1},
{description, Description}
]}.
@@ -271,7 +270,7 @@ get_stats(Key, State) ->
% Thanks to Paul Davis
do_get_all(#state{aggregates=Stats}=State) ->
case Stats of
- [] -> {[{ok, no_stats_yet}]};
+ [] -> {[{}]};
_ ->
[{LastMod, LastVals} | LastRestMods] = lists:foldl(fun({{Module, Key}, _Count}, AccIn) ->
case AccIn of