mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-03-18 00:22:29 -04:00
log-dump.sh: better logging in case of error from listing GCS
This commit is contained in:
parent
f692f5cfcd
commit
96567c8dcc
1 changed files with 3 additions and 1 deletions
|
|
@ -435,7 +435,9 @@ function dump_nodes() {
|
|||
# Sets:
|
||||
# NON_LOGEXPORTED_NODES
|
||||
function find_non_logexported_nodes() {
|
||||
succeeded_nodes=$(gsutil ls ${gcs_artifacts_dir}/logexported-nodes-registry) || return 1
|
||||
local file="${gcs_artifacts_dir}/logexported-nodes-registry"
|
||||
echo "Listing marker files ($file) for successful nodes..."
|
||||
succeeded_nodes=$(gsutil ls "${file}") || return 1
|
||||
echo "Successfully listed marker files for successful nodes"
|
||||
NON_LOGEXPORTED_NODES=()
|
||||
for node in "${NODE_NAMES[@]}"; do
|
||||
|
|
|
|||
Loading…
Reference in a new issue