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 <karla.karolinenogueirafelix@windriver.com>
Change-Id: I4cc82d31096c4728875d2bf7e6d28143e4872806
This commit is contained in:
Karla Felix 2023-03-21 13:03:31 -03:00
parent df0fda20d0
commit 9d6e013484
1 changed files with 1 additions and 1 deletions

View File

@ -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