]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson: use seastar::make_ready_future()
authorKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 02:58:40 +0000 (10:58 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Sep 2020 03:53:43 +0000 (11:53 +0800)
instead of seastar::now(). as seastar::now() was moved into
seastar/util/laster.hh.

this change is a leftover of aa28b51f3c5434253c1788927100fb0b6e41bdbb

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/test/crimson/test_config.cc

index 6735d27841e12385bba8832ca11224b593f6ef99..a8234b2deb83c4de578153335adc6e83bc228a8a 100644 (file)
@@ -38,7 +38,7 @@ public:
   uint64_t get_num_changes() const { return num_changes; }
   seastar::future<> stop() {
     crimson::common::local_conf().remove_observer(this);
-    return seastar::now();
+    return seastar::make_ready_future<>();
   }
 };