Skip to main content

deploy_result

Function deploy_result 

Source
pub fn deploy_result(
    conn: &Connection,
    node_id: &str,
    target: &str,
    sha256: &str,
    ok: bool,
    error: Option<&str>,
) -> Result<(), String>
Expand description

The node reported how applying sha256 went. A success ends the run; a failure leaves it in RetryWait until DEPLOY_MAX_ATTEMPTS sends have failed, then fails it. A result for bytes no run is following (a push from before runs existed) is ignored.