Commits

Bryan Fink  committed 23bacaf

typo: pull props from proplist (2)

  • Participants
  • Parent commits 47e43c9

Comments (0)

Files changed (1)

File 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,