mirror of
https://github.com/valitydev/riak_test.git
synced 2024-11-06 16:45:29 +00:00
Merge pull request #401 from basho/maybe_bug/rdb/full-conf-path
I was getting an {error, enoent} on riak_test setup
This commit is contained in:
commit
d4dc7fd7c5
@ -266,7 +266,7 @@ get_backend(AppConfig) ->
|
||||
Files =[ Filename || Filename <- string:tokens(ConfigFileOutputLine, "\s"),
|
||||
".config" == filename:extension(Filename) ],
|
||||
|
||||
hd(Files)
|
||||
io_lib:format("~s/dev/dev~s/~s", [Path, N, tl(hd(Files))])
|
||||
end,
|
||||
{ok, [Config]} = file:consult(ConfigFile),
|
||||
kvc:path('riak_kv.storage_backend', Config).
|
||||
|
Loading…
Reference in New Issue
Block a user