Skip to content

Commit a228065

Browse files
author
Алексей Зорькин
committed
utubettl-on-task-change: review
1 parent be84b61 commit a228065

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

queue/abstract/driver/utubettl.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ local function validate_space(space)
3636
for _, index in pairs(indexes) do
3737
if space.index[index] == nil then
3838
error(string.format('space "%s" does not have "%s" index',
39-
space.name, index))
39+
space.name, index))
4040
end
4141
end
4242
end
@@ -572,8 +572,8 @@ local function process_neighbour(self, task, operation)
572572
self:on_task_change(task, operation)
573573
if task ~= nil then
574574
local neighbour = self.space.index.utube:select(
575-
{state.READY, task[i_utube]},
576-
{limit = 1}
575+
{state.READY, task[i_utube]},
576+
{limit = 1}
577577
)[1]
578578
if neighbour ~= nil then
579579
self:on_task_change(neighbour)
@@ -684,7 +684,7 @@ function method.bury(self, id)
684684
commit_func()
685685

686686
return process_neighbour(
687-
self, task:transform(i_status, 1, state.BURIED), 'bury'
687+
self, task:transform(i_status, 1, state.BURIED), 'bury'
688688
)
689689
end
690690

0 commit comments

Comments
 (0)