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:
Eric Lippmann 2022-05-23 16:01:49 +02:00 committed by GitHub
commit 18c8b4ad54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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: