diff options
Diffstat (limited to 'lib/api')
-rw-r--r-- | lib/api/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/runner.rb b/lib/api/runner.rb index daa8ddbe251..11999354594 100644 --- a/lib/api/runner.rb +++ b/lib/api/runner.rb @@ -80,7 +80,7 @@ module API no_content! unless current_runner.active? update_runner_info - if current_runner.is_runner_queue_value_latest?(params[:last_update]) + if current_runner.runner_queue_value_latest?(params[:last_update]) header 'X-GitLab-Last-Update', params[:last_update] Gitlab::Metrics.add_event(:build_not_found_cached) return no_content! |