Closed hansonkd closed 8 years ago
Also I had to take out this line from rebar.config
{riak_kv, ".*", {git, "https://github.com/basho/riak_kv.git", "master"}}
because I was getting
==> riak_api (get-deps)
Pulling riak_pb from {git,"git://github.com/basho/riak_pb.git",
{tag,"2.0.0.16"}}
Cloning into 'riak_pb'...
ERROR: Dependency dir /riak-build/deps/riak_pb failed application validation with reason:
{version_mismatch,{"/riak-build/deps/riak_pb/src/riak_pb.app.src",
{expected,"2.0.0.16"},
{has,"2.0.0.15-15-gd10c567"}}}
And instead link it with libraries that were installed in riak's lib directory. I'm new to erlang so I don't know the proper way to resolve the issue in this PR.
But this PR makes the actual hook itself function as expected.
Change the level where the Meta variables are searched. Change Header Key from String to Binary.