]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
crushtool: send --tree to stdout
authorSage Weil <sage@redhat.com>
Sun, 8 Feb 2015 15:47:23 +0000 (07:47 -0800)
committerSage Weil <sage@redhat.com>
Mon, 23 Feb 2015 19:21:25 +0000 (11:21 -0800)
Signed-off-by: Sage Weil <sage@redhat.com>
src/tools/crushtool.cc

index 12d6c7aa7b62abb4abfa18f32b1a2308c0b4795d..6a70c942ca5953ab8c5e8ee276fa39d7424ff213 100644 (file)
@@ -737,9 +737,7 @@ int main(int argc, const char **argv)
   }
 
   if (tree) {
-    ostringstream oss;
-    crush.dump_tree(&oss, NULL);
-    dout(1) << "\n" << oss.str() << dendl;
+    crush.dump_tree(&cout, NULL);
   }
 
   if (decompile) {