diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2015-10-14 18:57:05 +0000 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2015-10-14 18:57:05 +0000 |
commit | a3a80eac110fb9f195eaccd3afd8e8611d1924dc (patch) | |
tree | 6a9611c35c23e7ffeeff52185c40c5f1007fb94e /app/models/commit_status.rb | |
parent | 45c0b74dc4e099216025433e66478e1e79e017e1 (diff) | |
parent | d9e2232f6393a1627847c9f6c2be3c4f987d0797 (diff) | |
download | gitlab-ce-a3a80eac110fb9f195eaccd3afd8e8611d1924dc.tar.gz |
Merge branch 'show_pending_warning' into 'master'
Show warning when build is pending and there are not runners
This change is based on: !1530.
This resolves #2967.
See merge request !1573
Diffstat (limited to 'app/models/commit_status.rb')
-rw-r--r-- | app/models/commit_status.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index b4d91b1b0c3..92905c618eb 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -88,4 +88,8 @@ class CommitStatus < ActiveRecord::Base def retry_url nil end + + def show_warning? + false + end end |