couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject couch-stats commit: updated refs/heads/master to a060a75
Date Mon, 02 Mar 2015 07:30:38 GMT
Repository: couchdb-couch-stats
Updated Branches:
  refs/heads/master 5dd3b5f0f -> a060a7560


Fix compilation warning


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/a060a756
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/tree/a060a756
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-stats/diff/a060a756

Branch: refs/heads/master
Commit: a060a7560a698b4a536011d5bf16546ece6e0979
Parents: 5dd3b5f
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sun Mar 1 22:53:11 2015 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sun Mar 1 22:53:11 2015 +0300

----------------------------------------------------------------------
 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/a060a756/src/couch_stats_aggregator.erl
----------------------------------------------------------------------
diff --git a/src/couch_stats_aggregator.erl b/src/couch_stats_aggregator.erl
index 19b525c..0f6c9dd 100644
--- a/src/couch_stats_aggregator.erl
+++ b/src/couch_stats_aggregator.erl
@@ -63,7 +63,7 @@ handle_call(fetch, _from, #st{stats = Stats}=State) ->
     {reply, {ok, Stats}, State};
 handle_call(flush, _From, State) ->
     {reply, ok, collect(State)};
-handle_call(reload, _from, #st{stats = Stats}=State) ->
+handle_call(reload, _from, State) ->
     {ok, Descriptions} = reload_metrics(),
     {reply, ok, State#st{descriptions=Descriptions}};
 handle_call(Msg, _From, State) ->


Mime
View raw message