mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-07 00:55:21 +00:00
Merge pull request #739 from basho/bugfix/error_when_string_version_not_found
Fix error printing for non-atom version names (versions are term()s, not only atoms).
This commit is contained in:
commit
658255c4db
@ -715,7 +715,7 @@ check_node({_N, Version}) ->
|
||||
true -> ok;
|
||||
_ ->
|
||||
lager:error("You don't have Riak ~s installed or configured", [Version]),
|
||||
erlang:error("You don't have Riak " ++ atom_to_list(Version) ++ " installed or configured")
|
||||
erlang:error(lists:flatten(io_lib:format("You don't have Riak ~p installed or configured", [Version])))
|
||||
end.
|
||||
|
||||
set_backend(Backend) ->
|
||||
|
Loading…
Reference in New Issue
Block a user