mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38: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));
|
RegisterBackend(std::move(backend));
|
||||||
|
|
||||||
// TODO: post Storage::backend_opened event
|
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -116,11 +114,7 @@ OperationResult Manager::CloseBackend(BackendPtr backend, ResultCallback* cb) {
|
||||||
backends.erase(it);
|
backends.erase(it);
|
||||||
}
|
}
|
||||||
|
|
||||||
auto res = backend->Close(cb);
|
return backend->Close(cb);
|
||||||
|
|
||||||
// TODO: post Storage::backend_lost event
|
|
||||||
|
|
||||||
return res;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Manager::Expire(double t) {
|
void Manager::Expire(double t) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue