From 673a7713a84a4a8a894bb60aeecb1946b0c42379 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Thu, 5 Oct 2023 08:10:01 +0100 Subject: [PATCH] scheduler: remove unused changes reconciler function. (#18656) --- scheduler/reconcile.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scheduler/reconcile.go b/scheduler/reconcile.go index db0ecda4b..1137836ad 100644 --- a/scheduler/reconcile.go +++ b/scheduler/reconcile.go @@ -173,11 +173,6 @@ func (r *reconcileResults) GoString() string { return base } -// Changes returns the number of total changes -func (r *reconcileResults) Changes() int { - return len(r.place) + len(r.inplaceUpdate) + len(r.stop) -} - // NewAllocReconciler creates a new reconciler that should be used to determine // the changes required to bring the cluster state inline with the declared jobspec func NewAllocReconciler(logger log.Logger, allocUpdateFn allocUpdateType, batch bool,