Skip to content

Commit

Permalink
Merge pull request #9371 from Icinga/bugfix/icingadb-command-argument…
Browse files Browse the repository at this point in the history
…s-null

IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
  • Loading branch information
lippserd authored May 23, 2022
2 parents 3220fec + f110e26 commit 18c8b4a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/icingadb/icingadb-objects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 18c8b4a

Please sign in to comment.