fix: satisfy topology health clippy

This commit is contained in:
Herbert Wolverson committed 2026-06-22 14:31:05 -05:00
1 parent 4fd8c07385
commit 2dde3874c8
1 file changed
+1 -1
+1 -1
View File
@@ -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;