mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Fix "object list" output for empty fields
This commit is contained in:
parent
d8e1943671
commit
bae96ca524
@ -227,6 +227,11 @@ void ObjectListCommand::PrintValue(std::ostream& fp, const Value& val)
|
||||
return;
|
||||
}
|
||||
|
||||
if (val.IsEmpty()) {
|
||||
fp << "null";
|
||||
return;
|
||||
}
|
||||
|
||||
fp << Convert::ToString(val);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user