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

Method after_restore

crates/openshell-driver-vm/src/lifecycle.rs:644–655  ·  view source on GitHub ↗
(&self, sandbox: &RestoreContext)

Source from the content-addressed store, hash-verified

642 }
643
644 pub async fn after_restore(&self, sandbox: &RestoreContext) {
645 for ext in self.active_for(&sandbox.sandbox) {
646 if let Err(err) = ext.after_restore(sandbox).await {
647 tracing::warn!(
648 extension = ext.name(),
649 sandbox_id = %sandbox.sandbox.id,
650 error = %err,
651 "vm driver: lifecycle extension after_restore hook failed"
652 );
653 }
654 }
655 }
656}
657
658/// Returns true when `sandbox` opted into the extension identified by

Callers 1

Calls 1

active_forMethod · 0.80

Tested by

no test coverage detected