mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
ido: Clean up newlines.
This commit is contained in:
parent
1b31e54e05
commit
be35ad8a48
@ -216,6 +216,7 @@ void ServiceDbObject::OnConfigUpdate(void)
|
||||
OnQuery(query_del2);
|
||||
|
||||
Dictionary::Ptr customvars;
|
||||
|
||||
{
|
||||
ObjectLock olock(service);
|
||||
customvars = CompatUtility::GetCustomVariableConfig(service);
|
||||
@ -287,7 +288,6 @@ void ServiceDbObject::OnStatusUpdate(void)
|
||||
void ServiceDbObject::CommentsChangedHandler(const Service::Ptr& svcfilter, const String& id, CommentChangedType type)
|
||||
{
|
||||
if (type == CommentChangedUpdated || type == CommentChangedDeleted) {
|
||||
|
||||
/* we cannot determine which comment id is deleted
|
||||
* ido schema does not store legacy id
|
||||
*/
|
||||
@ -309,7 +309,6 @@ void ServiceDbObject::CommentsChangedHandler(const Service::Ptr& svcfilter, cons
|
||||
AddComments(service);
|
||||
}
|
||||
} else if (type == CommentChangedAdded) {
|
||||
|
||||
Dictionary::Ptr comment = Service::GetCommentByID(id);
|
||||
AddComment(svcfilter, comment);
|
||||
} else {
|
||||
@ -430,3 +429,4 @@ void ServiceDbObject::DeleteComments(const Service::Ptr& service)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user