Module: check_mk
Branch: master
Commit: 3576cc719e43dde4145290c0097bf58f2c48ed75
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3576cc719e43dd…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Thu Feb 28 11:50:26 2019 +0100
Unbreak two 'log' table columns.
Things looks like an Emacs keyboard macro gone horribly wrong... :-}
Change-Id: I17fa23c83aaf32ac99d59dc34a61019896e2c401
---
livestatus/src/TableLog.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/livestatus/src/TableLog.cc b/livestatus/src/TableLog.cc
index f05e317..2ce18d1 100644
--- a/livestatus/src/TableLog.cc
+++ b/livestatus/src/TableLog.cc
@@ -97,14 +97,14 @@ TableLog::TableLog(MonitoringCore *mc, LogCache *log_cache)
-1, -1, DANGEROUS_OFFSETOF(LogEntry, _state)));
addColumn(std::make_unique<OffsetSStringColumn>(
"state_type", "The type of the state (varies on different log
classes)",
- entry_offset - 1, -1, -1, DANGEROUS_OFFSETOF(LogEntry, _state_type)));
+ entry_offset, -1, -1, DANGEROUS_OFFSETOF(LogEntry, _state_type)));
addColumn(std::make_unique<OffsetIntColumn>(
"attempt", "The number of the check attempt", entry_offset,
-1, -1,
DANGEROUS_OFFSETOF(LogEntry, _attempt)));
addColumn(std::make_unique<OffsetSStringColumn>(
"service_description",
"The description of the service log entry is about (might be empty)",
- entry_offset - 1, -1, -1,
+ entry_offset, -1, -1,
DANGEROUS_OFFSETOF(LogEntry, _service_description)));
addColumn(std::make_unique<OffsetSStringColumn>(
"host_name",