From 53ca2d39160f17158b1f7987a75c2ecb64e7f738 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Wed, 16 Oct 2013 12:01:09 +0200 Subject: [PATCH] ido: Add modified_attributes. --- lib/db_ido/hostdbobject.cpp | 1 + lib/db_ido/servicedbobject.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/db_ido/hostdbobject.cpp b/lib/db_ido/hostdbobject.cpp index d788ac4cd..145787ec6 100644 --- a/lib/db_ido/hostdbobject.cpp +++ b/lib/db_ido/hostdbobject.cpp @@ -178,6 +178,7 @@ Dictionary::Ptr HostDbObject::GetStatusFields(void) const fields->Set("normal_check_interval", attrs->Get("check_interval")); fields->Set("retry_check_interval", attrs->Get("retry_interval")); fields->Set("check_timeperiod_object_id", service->GetCheckPeriod()); + fields->Set("modified_attributes", attrs->Get("modified_attributes")); } else { fields->Set("has_been_checked", 0); diff --git a/lib/db_ido/servicedbobject.cpp b/lib/db_ido/servicedbobject.cpp index d62c23ead..5bbdfc1f8 100644 --- a/lib/db_ido/servicedbobject.cpp +++ b/lib/db_ido/servicedbobject.cpp @@ -197,6 +197,7 @@ Dictionary::Ptr ServiceDbObject::GetStatusFields(void) const fields->Set("normal_check_interval", attrs->Get("check_interval")); fields->Set("retry_check_interval", attrs->Get("retry_interval")); fields->Set("check_timeperiod_object_id", service->GetCheckPeriod()); + fields->Set("modified_attributes", attrs->Get("modified_attributes")); return fields; }