mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9371 from Icinga/bugfix/icingadb-command-arguments-null
IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
This commit is contained in:
commit
18c8b4ad54
|
@ -996,6 +996,7 @@ void IcingaDB::InsertObjectDependencies(const ConfigObject::Ptr& object, const S
|
|||
// Stringify if set.
|
||||
if (values->Get(attr, &value)) {
|
||||
switch (value.GetType()) {
|
||||
case ValueEmpty:
|
||||
case ValueString:
|
||||
break;
|
||||
case ValueObject:
|
||||
|
|
Loading…
Reference in New Issue