Forget to modify variable name when exchanging 2 variable names. So fix it.
Signed-off-by: Ren Wen 15991987063@163.com --- src/lib/sched.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/sched.cr b/src/lib/sched.cr index 223a30c..a4ddcec 100644 --- a/src/lib/sched.cr +++ b/src/lib/sched.cr @@ -418,7 +418,7 @@ class Sched
private def find_job(testbox : String, count = 1) tbox_group = JobHelper.match_tbox_group(testbox) - tbox = tbox.partition("--")[0] + tbox = tbox_group.partition("--")[0]
boxes = [testbox, tbox_group, tbox] boxes.each do |box|