build: stop using ETCDCTL_API=3

Note: v3 has been the default since 25bc65794.
release-3.4
Mark McLoughlin 2019-01-14 12:32:57 +00:00
parent 0427f46f17
commit 4d45a9ca43
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@
build:
GO_BUILD_FLAGS="-v" ./build
./bin/etcd --version
ETCDCTL_API=3 ./bin/etcdctl version
./bin/etcdctl version
clean:
rm -f ./codecov
@ -197,7 +197,7 @@ build-docker-release-master:
docker run \
--rm \
gcr.io/etcd-development/etcd:$(ETCD_VERSION) \
/bin/sh -c "/usr/local/bin/etcd --version && ETCDCTL_API=3 /usr/local/bin/etcdctl version"
/bin/sh -c "/usr/local/bin/etcd --version && /usr/local/bin/etcdctl version"
push-docker-release-master:
$(info ETCD_VERSION: $(ETCD_VERSION))
@ -500,7 +500,7 @@ build-docker-functional:
gcr.io/etcd-development/etcd-functional:go$(GO_VERSION) \
/bin/bash -c "./bin/etcd --version && \
./bin/etcd-failpoints --version && \
ETCDCTL_API=3 ./bin/etcdctl version && \
./bin/etcdctl version && \
./bin/etcd-agent -help || true && \
./bin/etcd-proxy -help || true && \
./bin/etcd-runner --help || true && \