Commit b1c15f2b authored by Markus Doits's avatar Markus Doits

use Ci::Build instead of CommitStatus as per feedback

parent d131b3e2
......@@ -55,7 +55,7 @@ module Gitlab
end
def self.possible_retry_when_values
@possible_retry_when_values ||= CommitStatus.failure_reasons.keys.map(&:to_s) + ['always']
@possible_retry_when_values ||= ::Ci::Build.failure_reasons.keys.map(&:to_s) + ['always']
end
def value
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment