fix: registering nodes
All checks were successful
ci/woodpecker/push/proto Pipeline was successful
ci/woodpecker/push/node Pipeline was successful

This commit is contained in:
Strix 2023-10-15 18:06:35 +02:00
parent b765d3eed4
commit 879cd88ecd
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
2 changed files with 2 additions and 0 deletions

View file

@ -47,6 +47,7 @@ impl Devices {
socket_addr,
properties: HashMap::new()
});
info!("Registered new device: {}", identifier);
identifier
}

View file

@ -80,6 +80,7 @@ impl NodeType {
p.packet_id,
)).await;
}
PacketData::NodeManagement(NodeManagementCommand::RegisterNode { .. }) => (),
_ => warn!("dropped packet")
}
}