mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user