Add version upgrade endpoint.

This commit is contained in:
Ben Johnson
2013-10-29 15:21:22 -06:00
parent 576badd334
commit ddf527e092
10 changed files with 131 additions and 19 deletions

View File

@ -23,7 +23,7 @@ type CompareAndSwapCommand struct {
// The name of the testAndSet command in the log
func (c *CompareAndSwapCommand) CommandName() string {
return "etcd:v2:compareAndSwap"
return "etcd:compareAndSwap"
}
// Set the key-value pair if the current value of the key equals to the given prevValue