mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Icinga DB Check: remove markdown headings from output
icingadb-web shows multiple lines from the check output collapsed into a single line. The lines containing just minuses make this look cluttered and making making it a heading provides little to no benefit. Even when rendering markdown in the check output at some point, having the lists labeled using normal paragraphs would look just fine.
This commit is contained in:
parent
6b6a70be80
commit
7b16c85bc1
@ -497,11 +497,11 @@ void IcingadbCheckTask::ScriptFunc(const Checkable::Ptr& checkable, const CheckR
|
||||
}
|
||||
|
||||
if (!i2okmsg.empty()) {
|
||||
msgbuf << "\n\nIcinga 2\n--------\n" << i2okmsg;
|
||||
msgbuf << "\n\nIcinga 2:\n" << i2okmsg;
|
||||
}
|
||||
|
||||
if (!idbokmsg.empty()) {
|
||||
msgbuf << "\n\nIcinga DB\n---------\n" << idbokmsg;
|
||||
msgbuf << "\n\nIcinga DB:\n" << idbokmsg;
|
||||
}
|
||||
|
||||
cr->SetPerformanceData(perfdata);
|
||||
|
Loading…
x
Reference in New Issue
Block a user