Skip to content

Commit

Permalink
FLEET-19 Fix clippies
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanrainer committed Nov 7, 2024
1 parent e47a7a1 commit 84e23d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo-router/src/plugins/fleet_detector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl PluginPrivate for FleetDetector {
tokio::spawn(async move {
let mut gauge_store = GaugeStore::new();
let system_getter = Arc::new(Mutex::new(SystemGetter::new()));
while let Some(_) = rx.recv().await {
while rx.recv().await.is_some() {
let system_getter = system_getter.clone();
gauge_store.initialize_gauges(system_getter);
}
Expand Down

0 comments on commit 84e23d5

Please sign in to comment.