@@ -37,7 +37,6 @@ impl Controller {
|
|||||||
None => {
|
None => {
|
||||||
match self.load_container(None,domain.clone(),ip.clone(),image.clone(),ops).await {
|
match self.load_container(None,domain.clone(),ip.clone(),image.clone(),ops).await {
|
||||||
Ok(c) => {
|
Ok(c) => {
|
||||||
log::debug!("poisoned: {}",self.storage.is_poisoned());
|
|
||||||
self.storage.try_lock().unwrap().new_instance(c.clone()).unwrap();
|
self.storage.try_lock().unwrap().new_instance(c.clone()).unwrap();
|
||||||
c.get_id()
|
c.get_id()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -9,3 +9,4 @@ pub struct Instance {
|
|||||||
pub image: i64,
|
pub image: i64,
|
||||||
pub ops: Options,
|
pub ops: Options,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user