crossbario / txaio-etcd

A Twisted client for etcd3
MIT License
14 stars 6 forks source link

Correct return_previous in OpDel #5

Closed bra-fsn closed 7 years ago

bra-fsn commented 7 years ago

The return_previous option gave a HTTP 400 error with the following text: {"Error":"unknown field \"prev_kv\" in etcdserverpb.RequestOp","Code":3} because prev_kv was put onto the same level as request_delete_range, however according to the rpc.proto it's an option of request_delete_range, like key.