Browse Source

Only require runtime executable when there is a runtime node declared

tags/v0.0.0-test.4
Philipp Oppermann 3 years ago
parent
commit
e8cbb63627
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      coordinator/src/main.rs

+ 1
- 1
coordinator/src/main.rs View File

@@ -52,7 +52,7 @@ async fn run_dataflow(dataflow_path: PathBuf, runtime: &Path) -> eyre::Result<()
)
})?;

if !runtime.is_file() {
if nodes.iter().any(|n| matches!(n.kind, NodeKind::Runtime(_))) && !runtime.is_file() {
bail!(
"There is no runtime at {}, or it is not a file",
runtime.display()


Loading…
Cancel
Save