Skip to content

Commit

Permalink
remove unused variable in openapi-spec script
Browse files Browse the repository at this point in the history
  • Loading branch information
CaoShuFeng committed Jun 29, 2018
1 parent f0c89c0 commit 7b1ba18
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions hack/update-openapi-spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ trap cleanup EXIT SIGINT

kube::golang::setup_env

apiserver=$(kube::util::find-binary "kube-apiserver")

TMP_DIR=$(mktemp -d /tmp/update-openapi-spec.XXXX)
ETCD_HOST=${ETCD_HOST:-127.0.0.1}
ETCD_PORT=${ETCD_PORT:-2379}
Expand Down
2 changes: 0 additions & 2 deletions hack/verify-openapi-spec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ kube::etcd::install

make -C "${KUBE_ROOT}" WHAT=cmd/kube-apiserver

apiserver=$(kube::util::find-binary "kube-apiserver")

SPECROOT="${KUBE_ROOT}/api/openapi-spec"
TMP_SPECROOT="${KUBE_ROOT}/_tmp/openapi-spec"
_tmp="${KUBE_ROOT}/_tmp"
Expand Down

0 comments on commit 7b1ba18

Please sign in to comment.