coreos/etcd — pull request #472 by benbjohnson (2014-01-13 23:00:21+00:00)
Title: Fix mod/lock and mod/leader return error codes.

This pull request fixes the `mod/lock` and `mod/leader` endpoints to use the standard `etcd/error` package.

See also: #446, #412

/cc: @philips @xiangli-cmu