mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Remove a couple of obsolete TODOs in storage manager
This commit is contained in:
parent
b25a844210
commit
8bc849d425
1 changed files with 1 additions and 7 deletions
|
@ -100,8 +100,6 @@ OperationResult Manager::OpenBackend(BackendPtr backend, OpenResultCallback* cb,
|
|||
|
||||
RegisterBackend(std::move(backend));
|
||||
|
||||
// TODO: post Storage::backend_opened event
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -116,11 +114,7 @@ OperationResult Manager::CloseBackend(BackendPtr backend, ResultCallback* cb) {
|
|||
backends.erase(it);
|
||||
}
|
||||
|
||||
auto res = backend->Close(cb);
|
||||
|
||||
// TODO: post Storage::backend_lost event
|
||||
|
||||
return res;
|
||||
return backend->Close(cb);
|
||||
}
|
||||
|
||||
void Manager::Expire(double t) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue