summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-09-24 20:02:26 +0900
committerAlessio Caiazza <acaiazza@gitlab.com>2018-10-02 17:04:04 +0200
commit703a41f8862c7278559ff13f2aa4f39ffd660c4e (patch)
treef408d57fbb5caaac94ff41b7e942f07c22b6841c /lib
parentf97ec4b8f44152036a8f8242bcf1584cfbd56cec (diff)
downloadgitlab-ce-703a41f8862c7278559ff13f2aa4f39ffd660c4e.tar.gz
Introduce enqueue_scheduled event
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/ci/status/build/scheduled.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/status/build/scheduled.rb b/lib/gitlab/ci/status/build/scheduled.rb
index 05a97b1de47..270a2706c87 100644
--- a/lib/gitlab/ci/status/build/scheduled.rb
+++ b/lib/gitlab/ci/status/build/scheduled.rb
@@ -23,7 +23,7 @@ module Gitlab
private
def execute_in
- Time.at(subject.build_schedule.execute_in).utc.strftime("%H:%M:%S")
+ Time.at(subject.scheduled_at).utc.strftime("%H:%M:%S")
end
end
end