Commit 98bcb690 authored by Zach Loafman's avatar Zach Loafman

log-dump.sh: Fix kubemark log-dump.sh

Fixes #34446
parent 049a0236
...@@ -96,7 +96,7 @@ function copy-logs-from-node() { ...@@ -96,7 +96,7 @@ function copy-logs-from-node() {
scp -oLogLevel=quiet -oConnectTimeout=30 -oStrictHostKeyChecking=no -i "${LOG_DUMP_SSH_KEY}" "${LOG_DUMP_SSH_USER}@${node}:${scp_files}" "${dir}" > /dev/null || true scp -oLogLevel=quiet -oConnectTimeout=30 -oStrictHostKeyChecking=no -i "${LOG_DUMP_SSH_KEY}" "${LOG_DUMP_SSH_USER}@${node}:${scp_files}" "${dir}" > /dev/null || true
else else
case "${KUBERNETES_PROVIDER}" in case "${KUBERNETES_PROVIDER}" in
gce|gke) gce|gke|kubemark)
gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true gcloud compute copy-files --project "${PROJECT}" --zone "${ZONE}" "${node}:${scp_files}" "${dir}" > /dev/null || true
;; ;;
aws) aws)
...@@ -120,7 +120,7 @@ function save-logs() { ...@@ -120,7 +120,7 @@ function save-logs() {
fi fi
else else
case "${KUBERNETES_PROVIDER}" in case "${KUBERNETES_PROVIDER}" in
gce|gke) gce|gke|kubemark)
files="${files} ${gce_logfiles}" files="${files} ${gce_logfiles}"
;; ;;
aws) aws)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment