MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / ensure_provisioning_active

Method ensure_provisioning_active

crates/openshell-driver-vm/src/driver.rs:1599–1605  ·  view source on GitHub ↗
(&self, sandbox_id: &str)

Source from the content-addressed store, hash-verified

1597 }
1598
1599 async fn ensure_provisioning_active(&self, sandbox_id: &str) -> Result<(), Status> {
1600 let registry = self.registry.lock().await;
1601 match registry.get(sandbox_id) {
1602 Some(record) if !record.deleting => Ok(()),
1603 _ => Err(Status::cancelled("sandbox provisioning cancelled")),
1604 }
1605 }
1606
1607 async fn assign_gpu_to_record(
1608 &self,

Callers 1

Calls 1

getMethod · 0.45

Tested by

no test coverage detected