mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Don't allow __local property for replicated objects.
This commit is contained in:
parent
639d2e5be0
commit
5e4a3eb181
@ -162,6 +162,9 @@ void ConfigRpcComponent::RemoteObjectCommittedHandler(const RequestMessage& requ
|
||||
else
|
||||
object->SetProperties(properties.GetDictionary());
|
||||
|
||||
if (object->IsLocal())
|
||||
throw invalid_argument("Replicated remote object is marked as local.");
|
||||
|
||||
object->Commit();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user