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() {
108
108
109
109
# Capture output first to check if it contains actual resources
110
110
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 )
112
112
113
113
# Check if output contains actual resources (not just empty list)
114
114
# Skip if it's an empty YAML list (contains "items: []")
@@ -124,7 +124,7 @@ dump_objects() {
124
124
} > " ${out_file} "
125
125
else
126
126
header " ${msg} "
127
- kubectl --context=" ${context} " -n " ${namespace} " ${action} " ${object} " 2>&1
127
+ kubectl --context=" ${context} " -n " ${namespace} " " ${action} " " ${object} " 2>&1
128
128
fi
129
129
}
130
130
You can’t perform that action at this time.
0 commit comments