Source

riak / src / jaywalker_resource.erl

Diff from to

src/jaywalker_resource.erl

             true ->
                 jiak:local_client();
             _ ->
-                Node = proplists:get_value(riak_node),
-                Cookie = proplists:get_value(riak_cookie),
+                Node = proplists:get_value(riak_node, Props),
+                Cookie = proplists:get_value(riak_cookie, Props),
                 erlang:set_cookie(node(), Cookie),
                 jiak:client_connect(Node)
         end,