diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-30 21:36:15 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 08:30:28 +0300 |
commit | b1af1f268b97c8518bf2806bca48f49174a8aead (patch) | |
tree | 46871ac6c42841ebd7424888b178d19e36e57c94 /app/workers/stuck_ci_jobs_worker.rb | |
parent | dcf09d11447c264f4b4028ea80eea2be913c2f5b (diff) |
Fix enum wording
Diffstat (limited to 'app/workers/stuck_ci_jobs_worker.rb')
-rw-r--r-- | app/workers/stuck_ci_jobs_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/stuck_ci_jobs_worker.rb b/app/workers/stuck_ci_jobs_worker.rb index 3e635f140fd..0af8090866a 100644 --- a/app/workers/stuck_ci_jobs_worker.rb +++ b/app/workers/stuck_ci_jobs_worker.rb @@ -53,7 +53,7 @@ class StuckCiJobsWorker def drop_build(type, build, status, timeout) Rails.logger.info "#{self.class}: Dropping #{type} build #{build.id} for runner #{build.runner_id} (status: #{status}, timeout: #{timeout})" Gitlab::OptimisticLocking.retry_lock(build, 3) do |b| - b.drop(:stuck_and_timeout) + b.drop(:failed_by_stuck_and_timeout) end end end |