mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-01-30 15:19:25 -05:00
NodeAddChildrenAction: Really import nodes if instructed to do so
This commit is contained in:
parent
0d262bf0d0
commit
cacc24f501
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class NodeAddChildrenAction extends NodeAction
|
|||
$node = $config->getBpNode($this->getNodeName());
|
||||
|
||||
foreach ($this->children as $name) {
|
||||
if (! $config->hasNode($name)) {
|
||||
if (! $config->hasNode($name) || $config->getNode($name)->getBpConfig()->getName() !== $config->getName()) {
|
||||
if (strpos($name, ';') !== false) {
|
||||
list($host, $service) = preg_split('/;/', $name, 2);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue