From b1af1f268b97c8518bf2806bca48f49174a8aead Mon Sep 17 00:00:00 2001 From: Shinya Maeda Date: Thu, 31 Aug 2017 03:36:15 +0900 Subject: Fix enum wording --- app/models/commit_status.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models/commit_status.rb') diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index dae3174ba9b..424f8e49d4d 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -43,7 +43,7 @@ class CommitStatus < ActiveRecord::Base failed_by_script: 1, # TODO: Not used. Should we expand pipeline as well? failed_by_missing_dependency: 2, # This will be done in the next MR. failed_by_system: 3, # TODO: Not used. What's this state? - failed_by_failed_job_state: 4, + failed_by_job_state: 4, failed_by_out_of_quota: 5, # TODO: Only EE. How can we detect? failed_by_stuck_and_timeout: 6, failed_by_no_runner: 7, # TODO: Not used. How can we detect? -- cgit v1.2.1