Fix specs
This commit is contained in:
parent
3441b4f93b
commit
c46445af92
2 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ module Ci
|
|||
|
||||
if current_runner.is_runner_queue_value_latest?(params[:last_update])
|
||||
header 'X-GitLab-Last-Update', params[:last_update]
|
||||
Gitlab::Metrics.add_event(:build_not_found_cached)
|
||||
return build_not_found!
|
||||
end
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ module Ci
|
|||
end
|
||||
|
||||
def execute(runner)
|
||||
described_class.new(runner).execute
|
||||
described_class.new(runner).execute.first
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue