Skip to content

Commit 6c40e16

Browse files
authored
Merge pull request kubernetes#95525 from tosi3k/master-log-dump-gke
Fix log dumping for GKE
2 parents 1c4f83e + 7e895db commit 6c40e16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster/log-dump/log-dump.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ function run-in-docker-container() {
344344
}
345345

346346
function dump_masters() {
347-
local master_names
347+
local master_names=()
348348
if [[ -n "${use_custom_instance_list}" ]]; then
349349
while IFS='' read -r line; do master_names+=("$line"); done < <(log_dump_custom_get_instances master)
350350
elif [[ ! "${master_ssh_supported_providers}" =~ ${KUBERNETES_PROVIDER} ]]; then

0 commit comments

Comments
 (0)