davisp closed pull request #1205: Switching `couch_stats_process_tracker:track/2` argument names URL: https://github.com/apache/couchdb/pull/1205
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/src/couch_stats/src/couch_stats_process_tracker.erl b/src/couch_stats/src/couch_stats_process_tracker.erl index 7d16deb8ae..fef955efd0 100644 --- a/src/couch_stats/src/couch_stats_process_tracker.erl +++ b/src/couch_stats/src/couch_stats_process_tracker.erl @@ -37,8 +37,8 @@ track(Name) -> track(self(), Name). -spec track(pid(), any()) -> ok. -track(Name, Pid) -> - gen_server:cast(?MODULE, {track, Name, Pid}). +track(Pid, Name) -> + gen_server:cast(?MODULE, {track, Pid, Name}). start_link() -> gen_server:start_link({local, ?MODULE}, ?MODULE, [], []). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services