diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-01 16:52:11 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-05 14:30:28 +0900 |
commit | 68f6c61cf621db82ac98d561782590b1866fcf6f (patch) | |
tree | 8d87711be50a9966939fe81aef158b8dfdb67fee /app/models/commit_status.rb | |
parent | 1d7c0390722c96aa66af5b26f5a826b97293dcd6 (diff) | |
download | gitlab-ce-68f6c61cf621db82ac98d561782590b1866fcf6f.tar.gz |
- Allow runner API to pass failure_reason
- Fix spec
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 1c4088d5af9..1e8f28b6466 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -42,7 +42,7 @@ class CommitStatus < ActiveRecord::Base unknown_failure: nil, job_failure: 1, api_failure: 2, - stuck_or_timeout_failure: 3, + stuck_or_timeout_failure: 3 } state_machine :status do |