scheduler: remove unused changes reconciler function. (#18656)

This commit is contained in:
James Rasell
2023-10-05 08:10:01 +01:00
committed by GitHub
parent 8a93ff3d2d
commit 673a7713a8

View File

@@ -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,