mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 21:21:32 +00:00
krata: reconcile improvements and better kratactl error experience
This commit is contained in:
@ -100,12 +100,12 @@ impl ControlService for RuntimeControlService {
|
||||
guest: Some(Guest {
|
||||
id: uuid.to_string(),
|
||||
state: Some(GuestState {
|
||||
status: GuestStatus::Start.into(),
|
||||
status: GuestStatus::Starting.into(),
|
||||
network: None,
|
||||
exit_info: None,
|
||||
error_info: None,
|
||||
}),
|
||||
spec: Some(spec),
|
||||
network: None,
|
||||
}),
|
||||
},
|
||||
)
|
||||
@ -152,7 +152,7 @@ impl ControlService for RuntimeControlService {
|
||||
.into());
|
||||
}
|
||||
|
||||
guest.state.as_mut().unwrap().status = GuestStatus::Destroy.into();
|
||||
guest.state.as_mut().unwrap().status = GuestStatus::Destroying.into();
|
||||
self.guests
|
||||
.update(uuid, entry)
|
||||
.await
|
||||
|
Reference in New Issue
Block a user