]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/crush/CrushLocation: fix compilation errors
authorMatan Breizman <mbreizma@redhat.com>
Sun, 4 Feb 2024 10:36:22 +0000 (10:36 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 6 Feb 2024 15:49:08 +0000 (15:49 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/crush/CrushLocation.cc

index d45264000bee2a09ea39d48839b2503caf28509f..0d66e5587e88f819b350c7dd1112105b5ed9a9a1 100644 (file)
@@ -92,8 +92,8 @@ seastar::future<> CrushLocation::update_from_hook()
         local_conf().get_val<std::string>("crush_location_hook"),
         std::move(params)
       ).then([this] (auto process) {
-        auto stdout = process.stdout();
-        return do_with(
+        auto stdout = process.cout();
+        return seastar::do_with(
           std::move(process),
           std::move(stdout),
           [this](auto& process, auto& stdout)