IcingaServiceSet: do not eport the UUID for now

fixes #2488
This commit is contained in:
Thomas Gelf 2022-04-05 08:47:13 +02:00
parent d92a5e846b
commit 11f621df30
2 changed files with 8 additions and 2 deletions

View File

@ -15,6 +15,9 @@ next (will be 1.9.1)
* FIX: DataList-backed fields failed to validate (#2475)
* FIX: No Host list limit when adding a single service globally (#2481)
### Configuration Baskets
* FIX: failed to export Baskets with Service Sets (#2488)
### DB Schema
* FIX: applying DB Schema migrations failed on PostgreSQL (#2482)

View File

@ -140,10 +140,13 @@ class IcingaServiceSet extends IcingaObject implements ExportInterface
public function export()
{
if ($this->get('host_id')) {
return $this->exportSetOnHost();
$result = $this->exportSetOnHost();
} else {
return $this->exportTemplate();
$result = $this->exportTemplate();
}
unset($result->uuid);
return $result;
}
protected function exportSetOnHost()