fixes #7369
Signed-off-by: Michael Friedrich <michael.friedrich@gmail.com>
Tim Hardeck <thardeck@suse.de>
Tobias von der Krone <tobias@vonderkrone.info>
Wolfgang Nieder <wnd@gmx.net>
+Zoltan Nagy <abesto@abesto.net>
CheckResult::Ptr result = make_shared<CheckResult>();
std::pair<String, Value> co = PluginUtility::ParseCheckOutput(attrs["output"]);
result->SetOutput(co.first);
- result->SetPerformanceData(co.second);
+ result->SetPerformanceData(PluginUtility::SplitPerfdata(co.second));
result->SetState(PluginUtility::ExitStatusToState(Convert::ToLong(attrs["return_code"])));
result->SetExecutionStart(Convert::ToDouble(attrs["start_time"]));
result->SetExecutionEnd(Convert::ToDouble(attrs["finish_time"]));