summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Beyer <matthias.beyer@ifm.com>2022-07-27 09:54:31 +0200
committerMatthias Beyer <matthias.beyer@ifm.com>2022-07-27 09:56:22 +0200
commit65fced0da8eb009b798b80fda87650173b38d199 (patch)
tree45c8c19b7c19a2ad1fb1c66dc430cb06325865eb
parent0e0b6ef90bf6997fb0492cc841e731350e6953cd (diff)
Fix: Use librumqttd definition of the router config type
With the update of rumqttd from 0.9 to 0.11, the definition of the `librumqttd::Config` type changed, to use `librumqttd::rumqttlog::Config` rather than `rummqttlog::Config` for the router config type. This patch fixes this. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
-rw-r--r--crates/tests/mqtt_tests/src/test_mqtt_server.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/tests/mqtt_tests/src/test_mqtt_server.rs b/crates/tests/mqtt_tests/src/test_mqtt_server.rs
index e469f8d2..675e715a 100644
--- a/crates/tests/mqtt_tests/src/test_mqtt_server.rs
+++ b/crates/tests/mqtt_tests/src/test_mqtt_server.rs
@@ -111,7 +111,7 @@ fn spawn_broker(port: u16) {
}
fn get_rumqttd_config(port: u16) -> Config {
- let router_config = rumqttlog::Config {
+ let router_config = librumqttd::rumqttlog::Config {
id: 0,
dir: "/tmp/rumqttd".into(),
max_segment_size: 10240,