remove stray printouts
This commit is contained in:
parent
c5eddcb292
commit
eea2f76b9f
@ -150,14 +150,11 @@ impl ExperimentController {
|
|||||||
match shell_cmd_result {
|
match shell_cmd_result {
|
||||||
Ok(shell_cmd) => {
|
Ok(shell_cmd) => {
|
||||||
log::info!("executing shell cmd {:?}", 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() {
|
match Command::new(shell_cmd.cmd).args(shell_cmd.args).status() {
|
||||||
Ok(status) => {
|
Ok(status) => {
|
||||||
if status.success() {
|
if status.success() {
|
||||||
println!("cmd exec success");
|
|
||||||
self.send_completion_success(requestor, action_req);
|
self.send_completion_success(requestor, action_req);
|
||||||
} else {
|
} else {
|
||||||
println!("cmd exec failed with {}", status);
|
|
||||||
log::warn!("execution of command failed: {}", status);
|
log::warn!("execution of command failed: {}", status);
|
||||||
self.send_completion_failure(
|
self.send_completion_failure(
|
||||||
requestor,
|
requestor,
|
||||||
@ -169,7 +166,6 @@ impl ExperimentController {
|
|||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
log::warn!("execution of command failed with IO error: {}", e);
|
log::warn!("execution of command failed with IO error: {}", e);
|
||||||
println!("cmd exec failed with {}", e);
|
|
||||||
self.send_completion_failure(
|
self.send_completion_failure(
|
||||||
requestor,
|
requestor,
|
||||||
action_req,
|
action_req,
|
||||||
|
Loading…
Reference in New Issue
Block a user