Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(update-verifier): remove teleport from checks #301

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[Unit]
Description=Worldcoin Update Verifier Service.
After=teleport.service
StartLimitInterval=0

[Service]
Expand Down
1 change: 0 additions & 1 deletion update-verifier/src/checks/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! A common health check module.

pub mod mcu;
pub mod teleport;

use tracing::{info, instrument};

Expand Down
122 changes: 0 additions & 122 deletions update-verifier/src/checks/teleport.rs

This file was deleted.

4 changes: 0 additions & 4 deletions update-verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#![warn(clippy::pedantic, missing_docs)]

use crate::checks::mcu::{Error, Mcu};
use crate::checks::teleport::Teleport;
use crate::checks::Check;
use orb_build_info::{make_build_info, BuildInfo};
use orb_slot_ctrl::OrbSlotCtrl;
Expand Down Expand Up @@ -69,9 +68,6 @@ pub fn run_health_check(orb_slot_ctrl: OrbSlotCtrl) -> eyre::Result<()> {
warn!("Could not get retry count or max retry count, skipping main MCU version check");
}

// check the teleport service health
Teleport::default().run_check()?;

info!("system health is OK");

info!("setting rootfs status to Normal");
Expand Down