Commit de09f8e5 authored by Shyam Jeedigunta's avatar Shyam Jeedigunta

Fix if condition in cluster/log-dump/log-dump.sh

parent 12ba9bdc
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment