RedisWriter: Rename check_period to check_timeperiod

This commit is contained in:
Noah Hilverling 2019-09-30 14:32:53 +02:00 committed by Michael Friedrich
parent 21a900cd9d
commit 33bdc8b5c3
1 changed files with 1 additions and 1 deletions

View File

@ -881,7 +881,7 @@ bool RedisWriter::PrepareObject(const ConfigObject::Ptr& object, Dictionary::Ptr
TimePeriod::Ptr timePeriod = checkable->GetCheckPeriod();
if (timePeriod) {
attributes->Set("check_timeperiod_id", GetObjectIdentifier(timePeriod));
attributes->Set("check_period", timePeriod->GetName());
attributes->Set("check_timeperiod", timePeriod->GetName());
}
EventCommand::Ptr eventCommand = checkable->GetEventCommand();