backport of commit 673a7713a84a4a8a894bb60aeecb1946b0c42379 (#18667)
Co-authored-by: James Rasell <jrasell@users.noreply.github.com>
This commit is contained in:
parent
b0c575ff22
commit
252515a84c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue