mirror of https://github.com/k3s-io/k3s
Merge pull request #37857 from ixdy/log-dump-fix
Automatic merge from submit-queue
Fix conditional in log-dump.sh
I think a `-n` was unintentionally changed to a `-z` in #37646, [here](a1bd743118 (commitcomment-20039393)
), which caused us to stop collecting master/node logs. This undoes that change.
cc @zmerlynn @spxtr @krzyzacy @jingxu97 @saad-ali
pull/6/head
commit
c758c00b1a
|
@ -68,7 +68,7 @@ function setup() {
|
|||
}
|
||||
|
||||
function log-dump-ssh() {
|
||||
if [[ -n "${use_custom_instance_list}" ]]; then
|
||||
if [[ -z "${use_custom_instance_list}" ]]; then
|
||||
ssh-to-node "$@"
|
||||
return
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue