mirror of https://github.com/Icinga/icinga2.git
parent
33b2395ff0
commit
10150c3198
|
@ -88,6 +88,9 @@ void AgentUtility::PrintAgents(std::ostream& fp)
|
|||
|
||||
void AgentUtility::PrintAgentRepository(std::ostream& fp, const Dictionary::Ptr& repository)
|
||||
{
|
||||
if (!repository)
|
||||
return;
|
||||
|
||||
ObjectLock olock(repository);
|
||||
BOOST_FOREACH(const Dictionary::Pair& kv, repository) {
|
||||
fp << std::setw(4) << " "
|
||||
|
|
Loading…
Reference in New Issue