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

Function error_condition

crates/openshell-driver-docker/src/lib.rs:1605–1613  ·  view source on GitHub ↗
(reason: &str, message: &str)

Source from the content-addressed store, hash-verified

1603}
1604
1605fn error_condition(reason: &str, message: &str) -> DriverCondition {
1606 DriverCondition {
1607 r#type: "Ready".to_string(),
1608 status: "False".to_string(),
1609 reason: reason.to_string(),
1610 message: message.to_string(),
1611 last_transition_time: String::new(),
1612 }
1613}
1614
1615fn platform_event(
1616 source: &str,

Callers 1

fail_pending_sandboxMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected