From 9d6e013484f87215a541bb8da963f56012b1e834 Mon Sep 17 00:00:00 2001 From: Karla Felix Date: Tue, 21 Mar 2023 13:03:31 -0300 Subject: [PATCH] Fix malformed output in system health-query system-health-query has a malformed output after "Use "fm alarm-list" for more details.". To fix that this commit is adding a new line after the phrase. This is bug is introduced by Story 2009303 task 47478 in : https://review.opendev.org/c/starlingx/config/+/874097 Test Plan: PASS: Run "health-query-upgrade" and verify if there is a new line after "Use "fm alarm-list" for more details.". Closes-Bug: 2012415 Signed-off-by: Karla Felix Change-Id: I4cc82d31096c4728875d2bf7e6d28143e4872806 --- sysinv/sysinv/sysinv/sysinv/common/health.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysinv/sysinv/sysinv/sysinv/common/health.py b/sysinv/sysinv/sysinv/sysinv/common/health.py index 2e3320e272..871f96493f 100755 --- a/sysinv/sysinv/sysinv/sysinv/common/health.py +++ b/sysinv/sysinv/sysinv/sysinv/common/health.py @@ -444,7 +444,7 @@ class Health(object): if not success: output += _('[%s] alarms found, [%s] of which are management affecting ' 'and [%s] are certificate expiration alarms. ' - 'Use "fm alarm-list" for details') % (allowed + affecting + cert_alarm, + 'Use "fm alarm-list" for details\n') % (allowed + affecting + cert_alarm, affecting, cert_alarm) health_ok = health_ok and success