From 7741022a534837df2145224eb6d45e0ff2ea7e48 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Wed, 2 Nov 2022 15:09:17 -0700 Subject: [PATCH] Fix dora node template - dora node does not import the right config. - The template print makes it look like there is an error without modification. --- binaries/cli/src/template/rust/node/main-template.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binaries/cli/src/template/rust/node/main-template.rs b/binaries/cli/src/template/rust/node/main-template.rs index 71b8a861..a7c01a66 100644 --- a/binaries/cli/src/template/rust/node/main-template.rs +++ b/binaries/cli/src/template/rust/node/main-template.rs @@ -1,4 +1,4 @@ -use dora_node_api::{self, config::DataId, DoraNode}; +use dora_node_api::{self, core::config::DataId, DoraNode}; use std::error::Error; fn main() -> Result<(), Box> { @@ -7,7 +7,7 @@ fn main() -> Result<(), Box> { while let Ok(input) = inputs.recv() { match input.id.as_str() { - other => eprintln!("Ignoring unexpected input `{other}`"), + other => eprintln!("Received input `{other}`"), } }