Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
771dd68c
Commit
771dd68c
authored
Dec 15, 2016
by
Kim "BKC" Carlbäcker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting
parent
692426b1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/models/ci/build.rb
app/models/ci/build.rb
+1
-1
lib/ci/api/builds.rb
lib/ci/api/builds.rb
+2
-2
No files found.
app/models/ci/build.rb
View file @
771dd68c
lib/ci/api/builds.rb
View file @
771dd68c
...
...
@@ -18,8 +18,8 @@ module Ci
last_update
=
Gitlab
::
Redis
.
with
{
|
redis
|
redis
.
get
(
current_runner_redis_key
)}
if
params
[
:last_update
]
!=
""
if
:last_update
==
last_update
if
params
[
:last_update
]
.
present?
if
params
[
:last_update
]
==
last_update
headers
'X-GitLab-Last-Update'
,
last_update
return
build_not_found!
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment