diff --git a/src/agent/src/lib.rs b/src/agent/src/lib.rs index 76281e3..48a4a5c 100644 --- a/src/agent/src/lib.rs +++ b/src/agent/src/lib.rs @@ -18,7 +18,9 @@ impl fmt::Display for AgentError { AgentError::OpenConfigFileError(e) => write!(f, "Failed to open config file: {}", e), AgentError::ParseConfigError(e) => write!(f, "Failed to parse config file: {}", e), AgentError::InvalidLanguage(e) => write!(f, "Invalid language: {}", e), - AgentError::BuildNotifier => write!(f, "Could not get notification from build notifier"), + AgentError::BuildNotifier => { + write!(f, "Could not get notification from build notifier") + } AgentError::BuildFailed => write!(f, "Build has failed"), } } diff --git a/src/api/src/service.rs b/src/api/src/service.rs index 9d4a2a4..4db3fd8 100644 --- a/src/api/src/service.rs +++ b/src/api/src/service.rs @@ -1,5 +1,8 @@ use crate::client::{ - vmmorchestrator::{execute_response::Stage, ExecuteResponse, RunVmmRequest, ShutdownVmRequest, ShutdownVmResponse}, + vmmorchestrator::{ + execute_response::Stage, ExecuteResponse, RunVmmRequest, ShutdownVmRequest, + ShutdownVmResponse, + }, VmmClient, }; use actix_web::{post, web, HttpRequest, HttpResponse, Responder};