Skip to content

Commit

Permalink
fix ci ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Hennzau committed Aug 11, 2024
1 parent 01fa7b8 commit 343f7d7
Showing 1 changed file with 10 additions and 23 deletions.
33 changes: 10 additions & 23 deletions binaries/coordinator/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -422,34 +422,21 @@ async fn start_inner(
name,
grace_duration,
} => match resolve_name(name, &running_dataflows, &archived_dataflows) {
Ok(dataflow_uuid) => {
if let Some(result) = dataflow_results.get(&dataflow_uuid) {
let reply = ControlRequestReply::DataflowStopped {
uuid: dataflow_uuid,
result: dataflow_result(result, dataflow_uuid, &clock),
};
let _ = reply_sender.send(Ok(reply));

return Ok(());
}

let dataflow = stop_dataflow(
Ok(uuid) => {
stop_dataflow_by_uuid(
&mut running_dataflows,
dataflow_uuid,
&dataflow_results,
uuid,
&mut daemon_connections,
reply_sender,
clock.new_timestamp(),
grace_duration,
&clock,
)
.await;

match dataflow {
Ok(dataflow) => {
dataflow.reply_senders.push(reply_sender);
}
Err(err) => {
let _ = reply_sender.send(Err(err));
}
}
.await?
}
Err(err) => {
let _ = reply_sender.send(Err(err));
}
Err(err) => {

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Clippy

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (ubuntu-20.04, i686-unknown-linux-gnu)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (ubuntu-20.04, aarch64-unknown-linux-gnu)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (ubuntu-20.04, x86_64-unknown-linux-gnu)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (ubuntu-20.04, aarch64-unknown-linux-musl)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (ubuntu-20.04, armv7-unknown-linux-musleabihf)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (macos-12, aarch64-apple-darwin)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / cross-check (macos-12, x86_64-apple-darwin)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / CLI Test (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / CLI Test (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (macos-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / ROS2 Bridge Examples

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (ubuntu-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / CLI Test (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Test (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Examples (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (windows-latest)

unreachable pattern

Check warning on line 441 in binaries/coordinator/src/lib.rs

View workflow job for this annotation

GitHub Actions / Bench (windows-latest)

unreachable pattern
let _ = reply_sender.send(Err(err));
Expand Down

0 comments on commit 343f7d7

Please sign in to comment.