Check the precense of scheduled_at in Status::Build
This commit is contained in:
parent
20de2480d2
commit
4b0aa57349
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module Gitlab
|
|||
end
|
||||
|
||||
def self.matches?(build, user)
|
||||
build.scheduled?
|
||||
build.scheduled? && build.scheduled_at
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in a new issue