]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/test/mon/test_mon_workloadgen.cc
update sources to v12.1.0
[ceph.git] / ceph / src / test / mon / test_mon_workloadgen.cc
index f64844c6643f909183b0b8efe0394abc7534e123..5984a26aa936308a0a0d3278c4371b73995300ae 100644 (file)
@@ -499,7 +499,7 @@ class OSDStub : public TestStub
     for (auto pit = osdmap_pools.begin(); pit != osdmap_pools.end(); ++pit) {
       const int64_t pool_id = pit->first;
       const pg_pool_t &pool = pit->second;
-      int ruleno = pool.get_crush_ruleset();
+      int ruleno = pool.get_crush_rule();
 
       if (!osdmap.crush->rule_exists(ruleno)) {
        dout(20) << __func__