ido: Add modified_attributes.

This commit is contained in:
Gunnar Beutner 2013-10-16 12:01:09 +02:00
parent 177e1a9000
commit 53ca2d3916
2 changed files with 2 additions and 0 deletions

View File

@ -178,6 +178,7 @@ Dictionary::Ptr HostDbObject::GetStatusFields(void) const
fields->Set("normal_check_interval", attrs->Get("check_interval")); fields->Set("normal_check_interval", attrs->Get("check_interval"));
fields->Set("retry_check_interval", attrs->Get("retry_interval")); fields->Set("retry_check_interval", attrs->Get("retry_interval"));
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod()); fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
fields->Set("modified_attributes", attrs->Get("modified_attributes"));
} }
else { else {
fields->Set("has_been_checked", 0); fields->Set("has_been_checked", 0);

View File

@ -197,6 +197,7 @@ Dictionary::Ptr ServiceDbObject::GetStatusFields(void) const
fields->Set("normal_check_interval", attrs->Get("check_interval")); fields->Set("normal_check_interval", attrs->Get("check_interval"));
fields->Set("retry_check_interval", attrs->Get("retry_interval")); fields->Set("retry_check_interval", attrs->Get("retry_interval"));
fields->Set("check_timeperiod_object_id", service->GetCheckPeriod()); fields->Set("check_timeperiod_object_id", service->GetCheckPeriod());
fields->Set("modified_attributes", attrs->Get("modified_attributes"));
return fields; return fields;
} }