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:
Alexander Aleksandrovič Klimov 2022-06-23 11:30:43 +02:00 committed by GitHub
commit 9eaa9c9f2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: