mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
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…
x
Reference in New Issue
Block a user