pub fn deploy_locked(release: Release, allow_downgrade: bool) -> Result<Release> {
    DEPLOY_ATTEMPTS.inc();

    let result = invoke_cli_deploy(release, allow_downgrade);
    if result.is_err() {
        DEPLOY_FAILURES.inc();
    }

    result
}
/// Deploy an upgrade (by checksum) and leave the new deployment locked.
Deploy an upgrade (by checksum) and leave the new deployment locked.
Deploy an upgrade ( by checksum ) and leave the new deployment locked .
pub fn deploy_locked(release: Release, allow_downgrade: bool) -> Result<Release> {
    DEPLOY_ATTEMPTS.inc();
    let result = invoke_cli_deploy(release, allow_downgrade);
    if result.is_err() {
        DEPLOY_FAILURES.inc();
    }
    result
}
pub fn deploy_locked ( release : Release , allow_downgrade : bool ) -> Result < Release > { DEPLOY_ATTEMPTS . inc ( ) ; let result = invoke_cli_deploy ( release , allow_downgrade ) ; if result . is_err ( ) { DEPLOY_FAILURES . inc ( ) ; } result }
Deploy an upgrade (by checksum) and leave the new deployment locked.
Deploy an upgrade ( by checksum ) and leave the new deployment locked .
release
Release
allow_downgrade
bool