Commit da972617 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Move has_trace? to CommitStatus than GenericCommitStatus

Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7617#note_18762721
parent a2fb6361
......@@ -135,15 +135,19 @@ class CommitStatus < ActiveRecord::Base
allow_failure? && (failed? || canceled?)
end
def duration
calculate_duration
end
def playable?
false
end
def duration
calculate_duration
def stuck?
false
end
def stuck?
def has_trace?
false
end
end
......@@ -12,8 +12,4 @@ class GenericCommitStatus < CommitStatus
def tags
[:external]
end
def has_trace?
false
end
end
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