Commits

Anonymous committed 533cd97

typo: pull props from proplist

  • Participants
  • Parent commits a04a252

Comments (0)

Files changed (1)

src/jiak_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,