summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-02-27 18:07:37 +0000
committerJan Lehnardt <jan@apache.org>2009-02-27 18:07:37 +0000
commit1cb18dc3db07b5a8e795c96e9e566eb621becc89 (patch)
tree1002c4238b35f7bfbd07df7b656c1731cf1452c8 /share/www
parent894b8a95e88c786f2c03eb6db4d44b9212646113 (diff)
- remove unused aggregate metrics field
- return an empty object when there are no stats git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@748622 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/stats.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/stats.js b/share/www/script/test/stats.js
index 90d8f462..204fe302 100644
--- a/share/www/script/test/stats.js
+++ b/share/www/script/test/stats.js
@@ -393,7 +393,7 @@ couchTests.stats = function(debug) {
options.headers = {"Accept": "application/json"};
var summary = JSON.parse(CouchDB.request("GET", "/_stats", options).responseText);
var aggregates = ["mean", "min", "max", "stddev",
- "current", "resolution"];
+ "current"];
for(var i in aggregates) {
T(summary.httpd.requests[aggregates[i]] >= 0, aggregates[i] + " >= 0", name);