mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-05-28 04:35:53 -04:00
DirectorDatafield: ignore uuid and originalId...
...on diff
This commit is contained in:
parent
b7e887b251
commit
915f57db99
1 changed files with 2 additions and 0 deletions
|
|
@ -169,6 +169,8 @@ class DirectorDatafield extends DbObjectWithSettings
|
|||
foreach ($candidates as $candidate) {
|
||||
$export = $candidate->export();
|
||||
CompareBasketObject::normalize($export);
|
||||
unset($export->uuid);
|
||||
unset($plain->originalId);
|
||||
if (CompareBasketObject::equals($export, $plain)) {
|
||||
return $candidate;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue