etcdctl/ctlv3: etcd v3.4 makes ETCDCTL_API=3 by default

This commit is contained in:
Vimal K
2018-05-29 02:44:45 +05:30
parent 476c9cbeed
commit 25bc65794f
8 changed files with 50 additions and 18 deletions

View File

@ -64,8 +64,8 @@ $ make build-etcd-proxy
$ ./bin/etcd-proxy --help
$ ./bin/etcd-proxy --from localhost:23790 --to localhost:2379 --http-port 2378 --verbose
$ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:2379 put foo bar
$ ETCDCTL_API=3 ./bin/etcdctl --endpoints localhost:23790 put foo bar`)
$ ./bin/etcdctl --endpoints localhost:2379 put foo bar
$ ./bin/etcdctl --endpoints localhost:23790 put foo bar`)
flag.PrintDefaults()
}