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:
parent
df0fda20d0
commit
9d6e013484
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue