Skip to content

Commit

Permalink
cargo fmt.
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Nov 20, 2023
1 parent 4b2bd6c commit 85f95f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/targets/mqtt/status_reporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ impl MqttStatusReporter {

pub fn disconnected(&self, broker_address: &Destination) {
sr_log!(info: self, "Disconnected from MQTT server at {}", broker_address);
self.metrics.connection_established_state.store(false, SeqCst);
self.metrics
.connection_established_state
.store(false, SeqCst);
}

pub fn connection_error<T: Display>(&self, err: T) {
Expand Down
4 changes: 3 additions & 1 deletion src/units/rib_unit/tests.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use crate::common::status_reporter::AnyStatusReporter;
use crate::tests::util::internal::{get_testable_metrics_snapshot, MOCK_ROUTER_ID};
use crate::tests::util::internal::{
get_testable_metrics_snapshot, MOCK_ROUTER_ID,
};
use crate::units::rib_unit::rib::{
StoreEvictionPolicy, StoreMergeUpdateSettings,
};
Expand Down

0 comments on commit 85f95f9

Please sign in to comment.