This commit is contained in:
2025-10-12 20:35:09 +02:00
parent d9edcda36c
commit 4d8bacef50
2 changed files with 6 additions and 19 deletions

View File

@@ -10,22 +10,8 @@ pub mod smart;
pub use error::CollectorError;
#[derive(Debug, Clone, serde::Serialize)]
pub enum AgentType {
Smart,
Service,
Backup,
}
pub use cm_dashboard_shared::envelope::AgentType;
impl AgentType {
pub fn as_str(&self) -> &'static str {
match self {
AgentType::Smart => "smart",
AgentType::Service => "service",
AgentType::Backup => "backup",
}
}
}
#[derive(Debug, Clone)]
pub struct CollectorOutput {