提交 8192620c 编写于 作者: T Thomas Stromberg

tunnel --clean should be tunnel --cleanup

上级 eaf6c924
...@@ -98,7 +98,7 @@ for stale_dir in ${TEST_ROOT}/*; do ...@@ -98,7 +98,7 @@ for stale_dir in ${TEST_ROOT}/*; do
if [[ -d "${MINIKUBE_HOME}" ]]; then if [[ -d "${MINIKUBE_HOME}" ]]; then
if [[ -r "${MINIKUBE_HOME}/tunnels.json" ]]; then if [[ -r "${MINIKUBE_HOME}/tunnels.json" ]]; then
cat "${MINIKUBE_HOME}/tunnels.json" cat "${MINIKUBE_HOME}/tunnels.json"
${MINIKUBE_BIN} tunnel --clean || true ${MINIKUBE_BIN} tunnel --cleanup || true
fi fi
echo "Shutting down stale minikube instance ..." echo "Shutting down stale minikube instance ..."
if [[ -w "${MINIKUBE_HOME}" ]]; then if [[ -w "${MINIKUBE_HOME}" ]]; then
...@@ -206,7 +206,7 @@ else ...@@ -206,7 +206,7 @@ else
fi fi
echo ">> Cleaning up after ourselves ..." echo ">> Cleaning up after ourselves ..."
${SUDO_PREFIX}${MINIKUBE_BIN} tunnel --clean >/dev/null 2>/dev/null || true ${SUDO_PREFIX}${MINIKUBE_BIN} tunnel --cleanup >/dev/null 2>/dev/null || true
${SUDO_PREFIX}${MINIKUBE_BIN} delete || true ${SUDO_PREFIX}${MINIKUBE_BIN} delete || true
cleanup_stale_routes || true cleanup_stale_routes || true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册