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

Return 'ok' from riak_cs_console:status/1 #1237

Merged
merged 2 commits into from
Sep 7, 2015

Conversation

ksauzz
Copy link
Contributor

@ksauzz ksauzz commented Sep 4, 2015

riak-cs-admin status always returns 1 since riak_cs_console:status/1 return list of 'ok' even though nodetool expects 'ok' as success of RPC call.

@ksauzz ksauzz force-pushed the bugfix/proper-return-from-cs-console-status branch from 007b71b to 37eb61a Compare September 4, 2015 08:28
@shino shino added this to the 2.1.0 milestone Sep 4, 2015
[io:format("~p : ~p~n", [Name, Value])
|| {Name, Value} <- Stats].
_ = [io:format("~p : ~p~n", [Name, Value])
|| {Name, Value} <- Stats],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess the indent is wrong.

borshop added a commit that referenced this pull request Sep 7, 2015
…ole-status

Return 'ok' from riak_cs_console:status/1

Reviewed-by: shino
@shino
Copy link
Contributor

shino commented Sep 7, 2015

@borshop merge

@shino shino added the Bug label Sep 7, 2015
@borshop borshop merged commit 8251f40 into develop Sep 7, 2015
@shino shino deleted the bugfix/proper-return-from-cs-console-status branch September 7, 2015 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants