mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
KickstartHelper: ignore empty host property
This commit is contained in:
parent
a76b41c648
commit
e3699ac294
@ -50,6 +50,10 @@ class KickstartHelper
|
||||
public function setConfig($config)
|
||||
{
|
||||
foreach ($config as $key => $value) {
|
||||
if ($value === '') {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (! array_key_exists($key, $this->config)) {
|
||||
throw new ProgrammingError(
|
||||
'"%s" is not a valid config setting for the kickstart helper',
|
||||
|
Loading…
x
Reference in New Issue
Block a user