etcdserver, clientv3: add "!=" to txn

adding != to compare is a requested functionality from a etcd user

FIX #6719
This commit is contained in:
fanmin shi
2016-11-08 16:43:21 -08:00
parent c9cc1efb67
commit c2fd42b556
12 changed files with 437 additions and 407 deletions

View File

@@ -11,8 +11,8 @@ if ! [[ "$0" =~ "scripts/genproto.sh" ]]; then
fi
# for now, be conservative about what version of protoc we expect
if ! [[ $(protoc --version) =~ "3.0.0" ]]; then
echo "could not find protoc 3.0.0, is it installed + in PATH?"
if ! [[ $(protoc --version) =~ "3.1.0" ]]; then
echo "could not find protoc 3.1.0, is it installed + in PATH?"
exit 255
fi