Skip to content

Commit c03ef2b

Browse files
committed
remove extraneous newlines from log messages
1 parent 1ff1811 commit c03ef2b

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scripts/update-helper.rhai

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn get_image_info(conf) {
144144
debug(`warn|failed to verify: ${path_str}`);
145145
}
146146
}
147-
debug("debug|Image Info Map (get_image_info):\n" + images);
147+
debug("debug|Image Info Map (get_image_info):" + images);
148148
if error_found {
149149
return 1;
150150
} else {
@@ -403,7 +403,7 @@ fn update_sp(sp_zip) {
403403
`error|SP did not become ready and clean after reset and `+
404404
`${max_poll_attempts} attempts.`
405405
);
406-
debug(`error|SP did not successfully reset and clear update status.\n`);
406+
debug(`error|SP did not successfully reset and clear update status.`);
407407
return false;
408408
}
409409
debug("info|SP readiness and clean status confirmed.");

scripts/upgrade-rollback.rhai

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ fn run_standard_test_flow(conf, images) {
167167
}
168168
] {
169169
debug(
170-
`info|\n--- Starting ${v_params.up_down} to ${v_params.label} ` +
170+
`info|--- Starting ${v_params.up_down} to ${v_params.label} ` +
171171
`(${v_params.branch} branch versions) ---`
172172
);
173173

@@ -234,7 +234,7 @@ fn run_standard_test_flow(conf, images) {
234234
);
235235
}
236236

237-
debug(`info|\nElapsed time total: ${start_ts.elapsed}`);
237+
debug(`info|Elapsed time total: ${start_ts.elapsed}`);
238238
debug(`info|Current time: ${datetime_local()}`);
239239
debug("info|Done.");
240240
return 0;
@@ -258,7 +258,7 @@ fn main() {
258258
let passed_tests = [];
259259

260260
if (helper::is_fault_enabled(conf, "pending")) {
261-
debug("info|\n--- FAULT INJECTION: PENDING PREFERENCE ---");
261+
debug("info|--- FAULT INJECTION: PENDING PREFERENCE ---");
262262
if (!helper::ensure_initial_baseline_state(conf, images)) { return 1; }
263263
if (!helper::inject_conflicting_pending_preference()) {
264264
debug("error|Failed to inject pending preference fault.");
@@ -276,7 +276,7 @@ fn main() {
276276
}
277277

278278
if (helper::is_fault_enabled(conf, "transient")) {
279-
debug("info|\n--- FAULT INJECTION: TRANSIENT PREFERENCE ---");
279+
debug("info|--- FAULT INJECTION: TRANSIENT PREFERENCE ---");
280280
if (!helper::ensure_initial_baseline_state(conf, images)) { return 1; }
281281
if (!helper::inject_conflicting_transient_preference()) {
282282
debug("error|Failed to inject transient preference fault.");
@@ -293,7 +293,7 @@ fn main() {
293293
}
294294
}
295295

296-
debug("info|\n--- FAULT INJECTION SUMMARY ---");
296+
debug("info|--- FAULT INJECTION SUMMARY ---");
297297
if (passed_tests.len() > 0) {
298298
debug(`info|PASSED: ${passed_tests}`);
299299
}

0 commit comments

Comments
 (0)