add check a build list validation before restart task
This commit is contained in:
parent
7669ea33f9
commit
f5a68ed4ae
|
@ -14,7 +14,7 @@ module AbfWorker
|
|||
end
|
||||
|
||||
def perform
|
||||
return if restart_task
|
||||
return if subject.valid? && restart_task
|
||||
if options['feedback_from_user']
|
||||
user = User.find options['feedback_from_user']
|
||||
return if !user.system? && subject.builder != user
|
||||
|
|
Loading…
Reference in New Issue