mirror of https://github.com/Icinga/icinga2.git
parent
7378964f31
commit
fe1c5e9507
|
@ -54,7 +54,9 @@ void ConfigWriter::EmitArray(std::ostream& fp, int indentLevel, const Array::Ptr
|
||||||
{
|
{
|
||||||
fp << "[ ";
|
fp << "[ ";
|
||||||
EmitArrayItems(fp, indentLevel, val);
|
EmitArrayItems(fp, indentLevel, val);
|
||||||
fp << " ]";
|
if (val->GetLength() > 0)
|
||||||
|
fp << " ";
|
||||||
|
fp << "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
void ConfigWriter::EmitArrayItems(std::ostream& fp, int indentLevel, const Array::Ptr& val)
|
void ConfigWriter::EmitArrayItems(std::ostream& fp, int indentLevel, const Array::Ptr& val)
|
||||||
|
|
Loading…
Reference in New Issue