File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ dump_objects() {
108108
109109 # Capture output first to check if it contains actual resources
110110 local temp_output
111- temp_output=$( kubectl --context=" ${context} " -n " ${namespace} " ${action} " ${object} " 2>&1 )
111+ temp_output=$( kubectl --context=" ${context} " -n " ${namespace} " " ${action} " " ${object} " 2>&1 )
112112
113113 # Check if output contains actual resources (not just empty list)
114114 # Skip if it's an empty YAML list (contains "items: []")
@@ -124,7 +124,7 @@ dump_objects() {
124124 } > " ${out_file} "
125125 else
126126 header " ${msg} "
127- kubectl --context=" ${context} " -n " ${namespace} " ${action} " ${object} " 2>&1
127+ kubectl --context=" ${context} " -n " ${namespace} " " ${action} " " ${object} " 2>&1
128128 fi
129129}
130130
You can’t perform that action at this time.
0 commit comments