From c1661e9c2d49f5905a3c47e13f16e1fac74e40c6 Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Mon, 6 May 2024 09:45:14 -0700 Subject: [PATCH] rm unused code --- nexus/src/app/background/instance_watcher.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/nexus/src/app/background/instance_watcher.rs b/nexus/src/app/background/instance_watcher.rs index 57c78e9eb6..310d15efe1 100644 --- a/nexus/src/app/background/instance_watcher.rs +++ b/nexus/src/app/background/instance_watcher.rs @@ -277,16 +277,6 @@ enum Incomplete { UpdateFailed, } -impl CheckOutcome { - fn is_healthy(&self) -> bool { - match self { - Self::Success(InstanceState::Failed) => false, - Self::Failure(_) => false, - _ => true, - } - } -} - impl fmt::Display for CheckOutcome { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { match self {