Skip to content

Commit 12d08d5

Browse files
committed
Improve output of update-openapi-spec.sh when printing logs from file.
1 parent aab1bef commit 12d08d5

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)