Skip to content

Commit

Permalink
chore: warnings seriously ?
Browse files Browse the repository at this point in the history
Signed-off-by: Mauran <thomas.mauran@etu.umontpellier.fr>
  • Loading branch information
thomas-mauran committed May 1, 2024
1 parent f2d3b60 commit 81675fe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/api/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ pub async fn run(req_body: web::Json<CloudletDtoRequest>) -> impl Responder {
Language::PYTHON => 0,
Language::NODE => 1,
Language::RUST => 2,
_ => unreachable!("Invalid language"),
},
log_level: req.log_level as i32,
};
Expand Down
1 change: 1 addition & 0 deletions src/cli/src/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl CloudletClient {
log_level: shared_models::LogLevel::INFO,
server: config.server,
build: config.build,
action: config.action,
}
}

Expand Down
1 change: 1 addition & 0 deletions src/shared-models/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ pub struct CloudletDtoRequest {
pub language: Language,
pub code: String,
pub log_level: LogLevel,
pub action: String,
pub server: ServerConfig,
pub build: BuildConfig,
}
Expand Down

0 comments on commit 81675fe

Please sign in to comment.