mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-07 07:23:15 +00:00
storage_proxy::drain_on_shutdown fixup indentation
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
This commit is contained in:
@@ -3762,10 +3762,10 @@ void storage_proxy::on_down(const gms::inet_address& endpoint) {
|
||||
future<> storage_proxy::drain_on_shutdown() {
|
||||
return do_with(::shared_ptr<abstract_write_response_handler>(), [this] (::shared_ptr<abstract_write_response_handler>& intrusive_list_guard) {
|
||||
return do_for_each(*_view_update_handlers_list, [this, &intrusive_list_guard] (abstract_write_response_handler& handler) {
|
||||
if (_response_handlers.find(handler.id()) != _response_handlers.end()) {
|
||||
intrusive_list_guard = handler.shared_from_this();
|
||||
handler.timeout_cb();
|
||||
}
|
||||
if (_response_handlers.find(handler.id()) != _response_handlers.end()) {
|
||||
intrusive_list_guard = handler.shared_from_this();
|
||||
handler.timeout_cb();
|
||||
}
|
||||
});
|
||||
}).then([this] {
|
||||
return _hints_resource_manager.stop();
|
||||
|
||||
Reference in New Issue
Block a user