This used to be the friend relationship to PGMonitor. It
was never really needed anyway, it was only being used
to skip the getter on `pools`
Signed-off-by: John Spray <john.spray@redhat.com>
<< ", last_pg_scan " << pg_map->last_pg_scan << dendl;
int created = 0;
- for (const auto &p : osd_map.pools) {
+ const auto &pools = osd_map.get_pools();
+
+ for (const auto &p : pools) {
int64_t poolid = p.first;
const pg_pool_t &pool = p.second;
int ruleno = osd_map.crush->find_rule(pool.get_crush_ruleset(),
ceph::shared_ptr<CrushWrapper> crush; // hierarchical map
friend class OSDMonitor;
- // FIXME: the elements required for PGMap updates should be exposed properly
- friend class PGMapUpdater;
public:
OSDMap() : epoch(0),