Decouple client contracts and close private role registries
This commit is contained in:
parent
786049534d
commit
22325aa76a
1 changed files with 1041 additions and 321 deletions
|
|
@ -17,13 +17,13 @@ use lazaret_core::records::{
|
|||
use lazaret_host_coordinator::recovery::{
|
||||
delete_runsc_container, prove_runtime_owners_absent, runtime_recovery_ownership,
|
||||
};
|
||||
use lazaret_linux::process::{TargetCommand, child_broker, dispatch_private_process_role};
|
||||
use lazaret_linux::process::{TargetCommand, child_broker};
|
||||
use rustix::process::Signal;
|
||||
|
||||
fn main() -> ExitCode {
|
||||
let arguments = std::env::args_os().skip(1).collect::<Vec<_>>();
|
||||
if let Some(result) = dispatch_private_process_role(&arguments) {
|
||||
return exit(result);
|
||||
if let Some(outcome) = lazaret_host_coordinator::private_roles::REGISTRY.dispatch(&arguments) {
|
||||
return exit(outcome.result);
|
||||
}
|
||||
exit(run())
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue