crimson/tools/store_nbd: drop unnecessary seastar::now()

the body of handle_exception() is a synchronous operation, there is no
need to return seastar::now() here.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-06-17 13:26:14 +08:00
parent a53fcc2eeb
commit e4288b68e6

View File

@ -449,7 +449,6 @@ void NBDHandler::run()
output.close());
}).discard_result().handle_exception([](auto e) {
logger().error("NBDHandler::run saw exception {}", e);
return seastar::now();
});
});
});