couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/3] couchdb commit: updated refs/heads/master to 13fa1e3
Date Fri, 29 Aug 2014 12:40:39 GMT
fix requestStats


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/4b44ebc8
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/4b44ebc8
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/4b44ebc8

Branch: refs/heads/master
Commit: 4b44ebc8366701076e0b1b3aa31a059df714e0a3
Parents: 5517320
Author: Robert Newson <rnewson@apache.org>
Authored: Fri Aug 29 12:49:30 2014 +0100
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Aug 29 12:49:30 2014 +0100

----------------------------------------------------------------------
 share/www/script/couch.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/4b44ebc8/share/www/script/couch.js
----------------------------------------------------------------------
diff --git a/share/www/script/couch.js b/share/www/script/couch.js
index 122db75..31b3830 100644
--- a/share/www/script/couch.js
+++ b/share/www/script/couch.js
@@ -440,7 +440,7 @@ CouchDB.requestStats = function(module, key, test) {
 
   var url = "/_stats/" + module + "/" + key + query_arg;
   var stat = CouchDB.request("GET", url).responseText;
-  return JSON.parse(stat)[module][key];
+  return JSON.parse(stat);
 };
 
 CouchDB.uuids_cache = [];


Mime
View raw message