couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [12/14] couch-stats commit: updated refs/heads/master to bb24add
Date Wed, 20 Aug 2014 13:09:20 GMT
Don't hoist application names in to stat reload logic


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/commit/500e1207
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/tree/500e1207
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/diff/500e1207

Branch: refs/heads/master
Commit: 500e12079e96a87b5001a93e3243e0b8a3ac1867
Parents: 870e284
Author: Benjamin Anderson <b@banjiewen.net>
Authored: Tue Feb 4 16:02:45 2014 -0800
Committer: Robert Newson <rnewson@apache.org>
Committed: Tue Aug 19 14:48:31 2014 +0100

----------------------------------------------------------------------
 src/couch_stats_aggregator.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/blob/500e1207/src/couch_stats_aggregator.erl
----------------------------------------------------------------------
diff --git a/src/couch_stats_aggregator.erl b/src/couch_stats_aggregator.erl
index 9615bf7..fe466ba 100644
--- a/src/couch_stats_aggregator.erl
+++ b/src/couch_stats_aggregator.erl
@@ -96,7 +96,7 @@ load_metrics_for_applications() ->
         fun(AppName, Acc) ->
             case load_metrics_for_application(AppName) of
                 error -> Acc;
-                Descriptions -> [{AppName, Descriptions}|Acc]
+                Descriptions -> Descriptions ++ Acc
             end
         end,
         [],


Mime
View raw message