MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DoCommonConfigUpdate

Method DoCommonConfigUpdate

lib/db_ido/servicedbobject.cpp:293–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291}
292
293void ServiceDbObject::DoCommonConfigUpdate()
294{
295 Service::Ptr service = static_pointer_cast<Service>(GetObject());
296
297 /* update comments and downtimes on config change */
298 DbEvents::AddComments(service);
299 DbEvents::AddDowntimes(service);
300}
301
302String ServiceDbObject::CalculateConfigHash(const Dictionary::Ptr& configFields) const
303{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected