Browse Source

Merge branch 'request-reply-com-layer' into interactive-cli

tags/v0.1.0^2
Philipp Oppermann 3 years ago
parent
commit
bc2bfb634e
Failed to extract signature
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      binaries/cli/src/check.rs

+ 2
- 3
binaries/cli/src/check.rs View File

@@ -58,9 +58,8 @@ pub fn check_environment() -> eyre::Result<()> {

pub fn coordinator_running() -> Result<bool, eyre::ErrReport> {
let mut control_session = None;
let reply = control_connection(&mut control_session)?
.request(&serde_json::to_vec(&ControlRequest::List).unwrap());
Ok(reply.is_ok())
let connected = control_connection(&mut control_session).is_ok();
Ok(connected)
}

pub fn check_dataflow(dataflow_path: &Path, runtime: Option<&Path>) -> eyre::Result<()> {


Loading…
Cancel
Save