mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
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:
parent
a53fcc2eeb
commit
e4288b68e6
@ -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();
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user