mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #9398 from Icinga/bugfix/icingadb-command-arguments-null-2.13
IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
This commit is contained in:
commit
9eaa9c9f2e
@ -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