mirror of https://github.com/Icinga/icinga2.git
Fix missing object lock in ExternalCommandProcessor::RemoveSvcAcknowledgement().
This commit is contained in:
parent
82abf427a5
commit
886b1c8dd7
|
@ -632,6 +632,7 @@ void ExternalCommandProcessor::RemoveSvcAcknowledgement(double, const std::vecto
|
|||
|
||||
Log(LogInformation, "icinga", "Removing acknowledgement for service '" + service->GetName() + "'");
|
||||
|
||||
ObjectLock olock(service);
|
||||
service->ClearAcknowledgement();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue