Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add yz_stat exception to xref analysis #886

Merged
merged 1 commit into from
Apr 1, 2014
Merged

Conversation

jtuple
Copy link
Contributor

@jtuple jtuple commented Apr 1, 2014

Running xref complains about undefined calls to yz_stat because Yokozuna is not a riak_kv dependency.

Since we already ignore yz_kv calls, this commit adds an exception for yz_stat calls as well.

In the future, we'll either make Yokozuna a proper sub-dependency of riak_kv, or add support to dynamically registered stat callbacks for stat aggregation (eg. for /stats).

For reference, the two calls into yz_stat are on riak_kv_stat_bc.erl#L159 and riak_kv_wm_stats.erl#L89.

Running xref complains about undefined calls to yz_stat because
Yokozuna is not a riak_kv dependency.

Since we already ignore yz_kv calls, this commit adds an exception for
yz_stat calls as well.

In the future, we'll either make Yokozuna a proper sub-dependency of
riak_kv, or add support to dynamically registered stat callbacks for
stat aggregation (eg. for /stats).
jtuple added a commit that referenced this pull request Apr 1, 2014
@jtuple jtuple merged commit bdb4457 into develop Apr 1, 2014
@jtuple jtuple deleted the bugfix/xref-yz-stat branch April 1, 2014 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant