From 66e2a0bd092ee35e756b0fc79097c49f058074ee Mon Sep 17 00:00:00 2001 From: Yashraj Shukla Date: Sat, 29 Aug 2026 00:02:45 +0000 Subject: [PATCH 1/2] remove dead commented-out validate() stub Signed-off-by: Yashraj Shukla --- controllers/state_manager.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/controllers/state_manager.go b/controllers/state_manager.go index eeac1bdce..65ea23ce8 100644 --- a/controllers/state_manager.go +++ b/controllers/state_manager.go @@ -993,11 +993,6 @@ func (n *ClusterPolicyController) step() (gpuv1.State, error) { return result, nil } -// TODO -// func (n ClusterPolicyController) validate() { -// add custom validation functions -// } - func (n ClusterPolicyController) last() bool { return n.idx == len(n.controls) } From 52fb781245dba06fa765bd67fe61db49f3257e0d Mon Sep 17 00:00:00 2001 From: Yashraj Shukla Date: Fri, 28 Aug 2026 23:42:55 +0000 Subject: [PATCH 2/2] nvd: remove stale TODO for nodepool unit tests Signed-off-by: Yashraj Shukla --- internal/state/nodepool.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/state/nodepool.go b/internal/state/nodepool.go index be42d25be..f3b910331 100644 --- a/internal/state/nodepool.go +++ b/internal/state/nodepool.go @@ -36,7 +36,6 @@ const ( ) // TODO: move this code to it's own module? -// TODO: add unit tests type nodePool struct { name string osRelease string