remove stray printouts

This commit is contained in:
Robin Müller 2024-04-25 16:49:15 +02:00
parent c5eddcb292
commit eea2f76b9f
Signed by: muellerr
GPG Key ID: A649FB78196E3849

View File

@ -150,14 +150,11 @@ impl ExperimentController {
match shell_cmd_result {
Ok(shell_cmd) => {
log::info!("executing shell cmd {:?}", shell_cmd);
println!("executing shell cmd {:?}", shell_cmd);
match Command::new(shell_cmd.cmd).args(shell_cmd.args).status() {
Ok(status) => {
if status.success() {
println!("cmd exec success");
self.send_completion_success(requestor, action_req);
} else {
println!("cmd exec failed with {}", status);
log::warn!("execution of command failed: {}", status);
self.send_completion_failure(
requestor,
@ -169,7 +166,6 @@ impl ExperimentController {
}
Err(e) => {
log::warn!("execution of command failed with IO error: {}", e);
println!("cmd exec failed with {}", e);
self.send_completion_failure(
requestor,
action_req,