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.
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.