diff --git a/cluster/log-dump/log-dump.sh b/cluster/log-dump/log-dump.sh index e87018f5397..ca84fdde0f6 100755 --- a/cluster/log-dump/log-dump.sh +++ b/cluster/log-dump/log-dump.sh @@ -344,7 +344,7 @@ function run-in-docker-container() { } function dump_masters() { - local master_names + local master_names=() if [[ -n "${use_custom_instance_list}" ]]; then while IFS='' read -r line; do master_names+=("$line"); done < <(log_dump_custom_get_instances master) elif [[ ! "${master_ssh_supported_providers}" =~ ${KUBERNETES_PROVIDER} ]]; then