]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
unittest_crush_wrapper: fix build
authorSage Weil <sage@redhat.com>
Tue, 29 Jul 2014 00:17:23 +0000 (17:17 -0700)
committerSage Weil <sage@redhat.com>
Sat, 2 Aug 2014 03:48:21 +0000 (20:48 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit f36cffc986c973014c89aa37ca73740b2fc194ca)

src/test/crush/TestCrushWrapper.cc

index 7d42da5030241c3189b28fd3c5223b6984f7577c..34d6401a68989e890f50893737a680935e8a15e4 100644 (file)
@@ -539,7 +539,7 @@ TEST(CrushWrapper, dump_rules) {
   }
 
   map<int,float> wm;
-  c->get_rule_weight_map(0, &wm);
+  c->get_rule_weight_osd_map(0, &wm);
   ASSERT_TRUE(wm.size() == 1);
   ASSERT_TRUE(wm[0] == 1.0);