@@ -137,7 +137,7 @@ _emit_routing_record() {
137137 --duration-ms 0 \
138138 --fallback-reason " $fallback_reason " \
139139 --impl-model-tag " $impl_tag " \
140- " ${log_path_args[@]} " \
140+ ${log_path_args[@]+ " ${log_path_args[@]} " } \
141141 2> /dev/null || true
142142}
143143
@@ -164,7 +164,7 @@ _emit_plan_routing_record() {
164164 --fallback-reason " $fallback_reason " \
165165 --impl-model-tag " $impl_tag " \
166166 --pipeline " 3phase" \
167- " ${log_path_args[@]} " \
167+ ${log_path_args[@]+ " ${log_path_args[@]} " } \
168168 2> /dev/null || true
169169}
170170
@@ -191,7 +191,7 @@ _emit_qa_routing_record() {
191191 --fallback-reason " $fallback_reason " \
192192 --impl-model-tag " $impl_tag " \
193193 --pipeline " 3phase" \
194- " ${log_path_args[@]} " \
194+ ${log_path_args[@]+ " ${log_path_args[@]} " } \
195195 2> /dev/null || true
196196}
197197
@@ -220,7 +220,7 @@ _emit_commit_routing_record() {
220220 --pipeline " 3phase" \
221221 --pr-url " $pr_url " \
222222 --auto-merge-applied " $auto_merge_applied " \
223- " ${log_path_args[@]} " \
223+ ${log_path_args[@]+ " ${log_path_args[@]} " } \
224224 2> /dev/null || true
225225}
226226
@@ -273,7 +273,7 @@ _emit_cutover_routing_record() {
273273 --forced " $forced " \
274274 --operator-id " $operator_id " \
275275 --pre-flip-in-progress-count " $pre_flip_count " \
276- " ${log_path_args[@]} " \
276+ ${log_path_args[@]+ " ${log_path_args[@]} " } \
277277 2> /dev/null || true
278278}
279279
0 commit comments