sealer: Fix no-remote move selector
This commit is contained in:
parent
6ac5c16d2b
commit
cd682e200b
@ -96,7 +96,7 @@ func (s *moveSelector) Ok(ctx context.Context, task sealtasks.TaskType, spt abi.
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return ok && s.allowRemote, pref, nil
|
return (ok && s.allowRemote) || pref, pref, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *moveSelector) Cmp(ctx context.Context, task sealtasks.TaskType, a, b *WorkerHandle) (bool, error) {
|
func (s *moveSelector) Cmp(ctx context.Context, task sealtasks.TaskType, a, b *WorkerHandle) (bool, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user