Yiyiyimu commented on a change in pull request #2036:
URL: https://github.com/apache/apisix/pull/2036#discussion_r477316456
##########
File path: .travis/linux_apisix_current_luarocks_runner.sh
##########
@@ -50,7 +50,8 @@ script() {
sudo service etcd stop
mkdir -p ~/etcd-data
/usr/bin/etcd --listen-client-urls 'http://0.0.0.0:2379'
--advertise-client-urls='http://0.0.0.0:2379' --data-dir ~/etcd-data >
/dev/null 2>&1 &
- etcd --version
+ etcdctl --version
+ export ETCDCTL_API=3
Review comment:
Before etcd v3.4, etcd would use v2 API as default, thus we need to set
it to v3
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]