Skip to content

Commit

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

IcingaDB: handle null (Empty) for value/set_if/separator in command arguments
  • Loading branch information
Al2Klimov authored Jun 23, 2022
2 parents c5d66b5 + 46c33be commit 9eaa9c9
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 9eaa9c9

Please sign in to comment.