mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Merge pull request #49040 from shyamjvs/fix-logdump
Automatic merge from submit-queue (batch tested with PRs 49019, 48919, 49040, 49018, 48874) Fix if condition in cluster/log-dump/log-dump.sh Fixes https://github.com/kubernetes/kubernetes/issues/49039 /cc @yujuhong
This commit is contained in:
commit
3548031fa9
@ -205,7 +205,7 @@ function dump_masters() {
|
||||
|
||||
function dump_nodes() {
|
||||
local node_names
|
||||
if [[ -n "$1" ]]; then
|
||||
if [[ -n "${1:-}" ]]; then
|
||||
echo "Dumping logs for nodes provided as args to dump_nodes() function"
|
||||
node_names=( "$@" )
|
||||
elif [[ -n "${use_custom_instance_list}" ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user