Skip to content

Commit 21e534e

Browse files
committed
fix: removed locale from main function
1 parent acd6e21 commit 21e534e

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/main.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ use lapin::{options::BasicConsumeOptions, types::FieldTable};
1717
use registry::FunctionStore;
1818
use tucana::shared::{Flow, NodeFunction, Value};
1919

20-
use crate::implementation::collect;
2120
use crate::configuration::Config;
21+
use crate::implementation::collect;
2222

2323
fn handle_node_function(
2424
function: NodeFunction,
@@ -177,9 +177,7 @@ async fn main() {
177177
load_env_file();
178178

179179
let config = Config::new();
180-
181-
let _locale = Locale::default();
182-
let store = FunctionStore::new();
180+
let mut store = FunctionStore::new();
183181
store.populate(collect());
184182

185183
let rabbitmq_client = Arc::new(RabbitmqClient::new(config.rabbitmq_url.as_str()).await);

0 commit comments

Comments
 (0)