Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Support prevExist=false #17

Closed
aaskey opened this issue Oct 31, 2014 · 2 comments
Closed

Support prevExist=false #17

aaskey opened this issue Oct 31, 2014 · 2 comments

Comments

@aaskey
Copy link

aaskey commented Oct 31, 2014

Hi there,

Currently prevExist() in EtcdKeyPutRequest can only set prevExist =true. While in certain situations, we would like to have prevExist=false as the condition to set up etcd key. Can you please extend the api to support?

public EtcdKeyPutRequest prevExist() {
this.requestParams.put("prevExist", "true");
return this;
}

@jurmous
Copy link
Owner

jurmous commented Oct 31, 2014

Thanks for reporting it! I had not considered that use case on creation of the api.

It is added and released in 0.4.13

@aaskey
Copy link
Author

aaskey commented Oct 31, 2014

Thank you for your quick response.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants