mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2026-10-25 14:20:05 -05:00
fix: satisfy topology health clippy
This commit is contained in:
1 parent
4fd8c07385
commit
2dde3874c8
1 file changed
+1
-1
@@ -201,7 +201,7 @@ fn build_unobserved_health_entry(
|
||||
previous.status == TopologyAttachmentHealthStatus::Suppressed
|
||||
&& previous
|
||||
.suppressed_until_unix
|
||||
.is_some_and(|deadline| now_unix().map_or(true, |now| now < deadline))
|
||||
.is_some_and(|deadline| now_unix().is_none_or(|now| now < deadline))
|
||||
});
|
||||
if suppression_active {
|
||||
entry.status = TopologyAttachmentHealthStatus::Suppressed;
|
||||
|
||||
Reference in new issue
Block a user