Commit 4b0aa573 authored by Shinya Maeda's avatar Shinya Maeda Committed by Alessio Caiazza

Check the precense of scheduled_at in Status::Build

parent 20de2480
......@@ -17,7 +17,7 @@ module Gitlab
end
def self.matches?(build, user)
build.scheduled?
build.scheduled? && build.scheduled_at
end
private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment