Skip to content
Snippets Groups Projects
Commit da972617 authored by Lin Jen-Shin's avatar Lin Jen-Shin
Browse files

Move has_trace? to CommitStatus than GenericCommitStatus

parent a2fb6361
No related branches found
No related tags found
1 merge request!7617External jobs do not have show page nor traces
Loading
@@ -135,15 +135,19 @@ class CommitStatus < ActiveRecord::Base
Loading
@@ -135,15 +135,19 @@ class CommitStatus < ActiveRecord::Base
allow_failure? && (failed? || canceled?) allow_failure? && (failed? || canceled?)
end end
   
def duration
calculate_duration
end
def playable? def playable?
false false
end end
   
def duration def stuck?
calculate_duration false
end end
   
def stuck? def has_trace?
false false
end end
end end
Loading
@@ -12,8 +12,4 @@ class GenericCommitStatus < CommitStatus
Loading
@@ -12,8 +12,4 @@ class GenericCommitStatus < CommitStatus
def tags def tags
[:external] [:external]
end end
def has_trace?
false
end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment