generalize log capture to all admin commands; simplify handler

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-08-08 18:09:21 +00:00
1 parent eded585f79
commit 94b805de0b
3 files changed
+87 -86

No files matched your search

+4 -1
View File
@@ -1,6 +1,9 @@
use service::Services;
use std::time::SystemTime;
use conduit_service::Services;
pub(crate) struct Command<'a> {
pub(crate) services: &'a Services,
pub(crate) body: &'a [&'a str],
pub(crate) timer: SystemTime,
}