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

Method DoCommonConfigUpdate

lib/db_ido/hostdbobject.cpp:341–348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

339}
340
341void HostDbObject::DoCommonConfigUpdate()
342{
343 Host::Ptr host = static_pointer_cast<Host>(GetObject());
344
345 /* update comments and downtimes on config change */
346 DbEvents::AddComments(host);
347 DbEvents::AddDowntimes(host);
348}
349
350String HostDbObject::CalculateConfigHash(const Dictionary::Ptr& configFields) const
351{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected