Skip to content

Commit 9abaa4e

Browse files
Update data_handler.rs
1 parent 14df9f4 commit 9abaa4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/service/data_handler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ async fn handle_module_registration(module_comm: &ModuleComm, request_id: &str,
169169
send_error(module_comm, request_id, errors::DUPLICATE_MODULE).await;
170170
return;
171171
}
172-
module_uuid_to_id.insert(module_comm.get_uuid().clone(), String::from(module_id));
172+
module_uuid_to_id.insert(*module_comm.get_uuid(), String::from(module_id));
173173
drop(module_uuid_to_id);
174174

175175
logger::verbose("Notifying successful module registration...");

0 commit comments

Comments
 (0)