1. Kirill Korinsky
  2. riak-old

Commits

Bryan Fink  committed 533cd97

typo: pull props from proplist

  • Participants
  • Parent commits a04a252
  • Branches default

Comments (0)

Files changed (1)

File src/jiak_resource.erl

View file
             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,