Redis: Encode check command

This commit is contained in:
Noah Hilverling 2018-12-03 08:14:53 +01:00 committed by Michael Friedrich
parent 08bfbbc070
commit 992727707d
1 changed files with 1 additions and 1 deletions

View File

@ -663,7 +663,7 @@ Dictionary::Ptr RedisWriter::SerializeState(const Checkable::Ptr& checkable)
attrs->Set("output", CompatUtility::GetCheckResultOutput(cr));
attrs->Set("long_output", CompatUtility::GetCheckResultLongOutput(cr));
attrs->Set("performance_data", JsonEncode(cr->GetPerformanceData()));
attrs->Set("command", cr->GetCommand());
attrs->Set("command", JsonEncode(cr->GetCommand()));
attrs->Set("execution_time", cr->CalculateExecutionTime());
attrs->Set("latency", cr->CalculateLatency());
}