Skip to content

Commit

Permalink
fix(lint): to pass CI, cargo fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Mateo Fernandez <mateo.fernandez@etu.umontpellier.fr>
  • Loading branch information
mfernd committed May 30, 2024
1 parent aa80515 commit abe0f3d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/agent/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}
Expand Down
5 changes: 4 additions & 1 deletion src/api/src/service.rs
Original file line number Diff line number Diff line change
@@ -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};
Expand Down

0 comments on commit abe0f3d

Please sign in to comment.