mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
parent
0cf113e0a6
commit
047b14ccbf
@ -16,6 +16,7 @@ v1.10.0 (unreleased)
|
||||
|
||||
### Import and Sync
|
||||
* FEATURE: clone a row for nested Dictionary/Hash entries (#2555)
|
||||
* FEATURE: Sync in "override" mode now preserves Self Service API keys (#2590)
|
||||
|
||||
### Configuration Baskets
|
||||
* BREAKING: configuration baskets no longer contain originalId (#2549)
|
||||
|
@ -704,7 +704,13 @@ class Sync
|
||||
|
||||
switch ($policy) {
|
||||
case 'override':
|
||||
$this->objects[$key]->replaceWith($object);
|
||||
if ($object instanceof IcingaHost
|
||||
&& !in_array('api_key', $this->rule->getSyncProperties())
|
||||
) {
|
||||
$this->objects[$key]->replaceWith($object, ['api_key']);
|
||||
} else {
|
||||
$this->objects[$key]->replaceWith($object);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'merge':
|
||||
|
Loading…
x
Reference in New Issue
Block a user