Add proxy-get over repl by bookshelfdave · Pull Request #75 · basho/riak_repl
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be simplified into one line:
ok = riak_api_pb_service:register(riak_repl_pb_get, 128, 129),
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this header really necessary?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be happy to put it in riak_repl.hrl if that's what you mean, just thought it'd be nice to have it separated out. Or did you mean having a default in a hrl at all?
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, why does it need to be in a header at all, considering it is referenced in precisely one module.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes good point, fixed in dcbe896
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters