Skip to content

Commit cb19ce9

Browse files
authored
Merge pull request kubernetes#86533 from RainbowMango/pr_improve_update_openapi_spec_output
Optimize error messages when updating openapi spec
2 parents bcff8bf + 12d08d5 commit cb19ce9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/update-openapi-spec.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ APISERVER_PID=$!
7979
if ! kube::util::wait_for_url "${API_HOST}:${API_PORT}/healthz" "apiserver: "; then
8080
kube::log::error "Here are the last 10 lines from kube-apiserver (${API_LOGFILE})"
8181
kube::log::error "=== BEGIN OF LOG ==="
82-
tail -10 "${API_LOGFILE}" || :
82+
tail -10 "${API_LOGFILE}" >&2 || :
8383
kube::log::error "=== END OF LOG ==="
8484
exit 1
8585
fi

0 commit comments

Comments
 (0)