aboutsummaryrefslogtreecommitdiff
path: root/src/web.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/web.rs')
-rw-r--r--src/web.rs13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/web.rs b/src/web.rs
index 001585a..f9bed5e 100644
--- a/src/web.rs
+++ b/src/web.rs
@@ -1,4 +1,4 @@
-use crate::{log::LOG, Check, Config, Service, Status, STATUS};
+use crate::{log::LOG, Config, Service, Status, STATUS};
use chrono::{SubsecRound, Utc};
use markup::{doctype, Render};
use std::{collections::BTreeMap, ops::Deref, sync::Arc};
@@ -99,14 +99,3 @@ markup::define!(
}
}
);
-
-impl Check {
- pub fn display(&self) -> String {
- match self {
- Check::Systemd(_) => "Service".to_string(),
- Check::Http { title, .. } => title.clone().unwrap_or("HTTP".to_string()),
- Check::Shell { title, .. } => title.to_owned(),
- Check::Pacman(_) => "Installed".to_string(),
- }
- }
-}